Have ideas to improve npm?Join in the discussion! »

    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

    86,695

    Version

    1.0.4

    License

    MIT

    Last publish

    Collaborators

    • avatar