babel-plugin-function-try-actch-ws
v0.2.0
Published
Downloads
1
Readme
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"]
});