0.0.0 • Published 2 years ago

function-try-catch v0.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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"]
});