Name Last Update
..
lib Loading commit data...
.npmignore Loading commit data...
README.md Loading commit data...
package.json Loading commit data...

babel-plugin-jscript

Babel plugin to fix buggy JScript named function expressions

Installation

$ npm install babel-plugin-jscript

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["jscript"]
}

Via CLI

$ babel --plugins jscript script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["jscript"]
});