babel-preset-es2015-node
Babel preset for all es2015 plugins needed with latest stable node.
Last updated 9 years ago by rtsao .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install babel-preset-es2015-node 
SYNC missed versions from official npm registry.

babel-preset-es2015-node

npm version

Babel preset for the minimum necessary babel-preset-es2015 plugins needed for your version of node

This preset automatically determines which version of node you are using via process.version and sets the minimum necessary babel-preset-es2015 plugins accordingly.

All versions of node ≥4 are supported.

Note: the major version of this package corresponds to the compatible major version of Babel (i.e. use babel-preset-es2015-node@6 with babel-cli@6.

Install

$ npm install --save-dev babel-preset-es2015-node

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["es2015-node"]
}

Via CLI

$ babel script.js --preset es2015-node

Via Node API

require("babel-core").transform("code", {
  presets: ["es2015-node"]
});

Current Tags

  • 6.1.1                                ...           latest (8 years ago)

13 Versions

  • 6.1.1                                ...           8 years ago
  • 6.1.0                                ...           8 years ago
  • 6.0.1                                ...           9 years ago
  • 5.0.5                                ...           9 years ago
  • 4.0.2                                ...           9 years ago
  • 5.0.4                                ...           9 years ago
  • 6.0.0                                ...           9 years ago
  • 5.0.3                                ...           9 years ago
  • 4.0.1                                ...           9 years ago
  • 5.0.2                                ...           9 years ago
  • 4.0.0                                ...           9 years ago
  • 5.0.1                                ...           9 years ago
  • 5.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE