0.2.0 • Published 5 years ago
babel-plugin-function-try-actch-ws v0.2.0
babel-plugin-function-try-actch
Example
In
// input codeOut
"use strict";
// output codeInstallation
$ npm install babel-plugin-function-try-actchUsage
Via .babelrc (Recommended)
.babelrc
{
"plugins": ["function-try-actch"]
}Via CLI
$ babel --plugins function-try-actch script.jsVia Node API
require("babel-core").transform("code", {
plugins: ["function-try-actch"]
});0.2.0
5 years ago