1. 首页
  2. 数据库
  3. 其它
  4. jsdoctest:将jsdoc示例作为doctests运行 源码

jsdoctest:将jsdoc示例作为doctests运行 源码

上传者: 2021-02-01 22:56:18上传 ZIP文件 1.42MB 热度 23次
jsdoctest从带注释的函数中解析 @example标记,并像运行 @example运行它们。 受 python库及其 javascript实现的。 演示版 建立 这是您可以使用的两行设置: $ npm i -g jsdoctest && jsdoctest --init Adding ` jsdoctest ` script to your package.json... Installing ` mocha ` and ` jsdoctest ` with npm: # ... npm doing some work... You can now run doctests with
下载地址
用户评论