babel-plugin-jscript

Babel plugin to fix buggy JScript named function expressions

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-plugin-jscript
1.0.48 years ago8 years agoMinified + gzip package size for babel-plugin-jscript in KB

Readme

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