【文件属性】:
文件名称:tryjs:为代码自动加 try-catch,捕获异常。wrap function body with try-catch
文件大小:92KB
文件格式:ZIP
更新时间:2021-05-02 17:18:02
ast error-handling node-module try-catch error-reporting
安装
npm install tryjs -g
如果安装失败,请使用 sudo
使用
进入到想要执行的目录
执行 tryjs
$ tryjs
Usage
Usage: tryjs [options]
Options:
-h, --help output usage information
-V, --version output the version number
-c --configFile [file] 指定 config 文件
-f, --file [file] 指定某个文件
-d, --directory [directory] 指定文件夹
-i, --ignore [ignores] 忽略文件夹或文件
通过 co
【文件预览】:
tryjs-master
----.gitignore(329B)
----package.json(609B)
----src()
--------try.js(726B)
--------libs()
----bin()
--------tryme(567B)
----index.js(555B)
----README.md(1KB)
----test()
--------vender2.js(2KB)
--------vender.js(2KB)
--------nocompile.js(931B)
--------index.html(179B)
--------demo2.js(10KB)
--------underscore.js(59KB)
--------tryjs.config(201B)
--------demo.js(404B)
--------underscore()