Ninja Power Manifesto

    babel-preset-es2040

    1.1.1 • Public • Published

    babel-preset-es2040

    npm version downloads js-standard-style

    Babel preset for a subset of ES6, because in hindsight we can do without most of it

    Install

    $ npm install --save-dev babel-preset-es2040

    Usage

    Via .babelrc (Recommended)

    .babelrc

    {
      "presets": ["es2040"]
    }

    Via CLI

    $ babel script.js --presets es2040

    Via Node API

    require('babel-core').transform('code', {
      presets: ['es2040']
    })

    See Also

    License

    MIT

    Install

    npm i babel-preset-es2040

    DownloadsWeekly Downloads

    203

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • ahdinosaur