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