0.0.0 • Published 3 years ago

function-try-catch v0.0.0

Weekly downloads
-
License
-
Repository
-
Last release
3 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"]
});