0.0.0 • Published 4 years ago
function-try-catch v0.0.0
babel-plugin-funciton-try-catch
Example
In
// input codeOut
"use strict";
// output codeInstallation
$ npm install babel-plugin-funciton-try-catchUsage
Via .babelrc (Recommended)
.babelrc
{
"plugins": ["funciton-try-catch"]
}Via CLI
$ babel --plugins funciton-try-catch script.jsVia Node API
require("babel-core").transform("code", {
plugins: ["funciton-try-catch"]
});0.0.0
4 years ago