0.2.0 • Published 4 years ago
babel-plugin-function-try-actch-ws v0.2.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"]
});
0.2.0
4 years ago