Get unlimited public & private packages + team-based management with npm Teams.Learn more »

babel-plugin-jscript

1.0.4 • Public • Published

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

Keywords

Install

npm i babel-plugin-jscript

DownloadsWeekly Downloads

122,455

Version

1.0.4

License

MIT

Last publish

Collaborators

  • avatar