0.2.0 • Published 5 years ago
babel-plugin-function-try-actch-ws
Licence
ISC
Version
0.2.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0
babel-plugin-function-try-actch
Example
In
// input code
Out
"use strict";
// output code
Installation
$ npm install babel-plugin-function-try-actch
Usage
Via .babelrc (Recommended)
.babelrc
{
"plugins": ["function-try-actch"]
}
Via CLI
$ babel --plugins function-try-actch script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["function-try-actch"]
});