JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 53
  • Score
    100M100P100Q25205F
  • License MIT

auto wrap function body with try-catch

Package Exports

  • tryjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tryjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

安装

npm install tryjs -g

如果安装失败,请使用 sudo

使用

  1. 进入到想要执行的目录
  2. 执行 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]       忽略文件夹或文件

UPDATE LOG

  • 0.0.1 use uglifyjs2

  • 0.0.2

  • 0.1.0 rework change: change acore to parse AST change: use esgencode to gennereate code

  • 0.1.2 change: 读写操作改为同步