babel-preset-es2015-node
Babel preset for all es2015 plugins needed with latest stable node.
Last updated 3 years ago by rtsao .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (3 years ago)

13 Versions

  • 6.1.1                                ...           3 years ago
  • 6.1.0                                ...           4 years ago
  • 6.0.1                                ...           4 years ago
  • 5.0.5                                ...           4 years ago
  • 4.0.2                                ...           4 years ago
  • 5.0.4                                ...           4 years ago
  • 6.0.0                                ...           4 years ago
  • 5.0.3                                ...           4 years ago
  • 4.0.1                                ...           4 years ago
  • 5.0.2                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 5.0.1                                ...           4 years ago
  • 5.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 628
This Month 2,016
Last Day 123
Last Week 724
Last Month 2,455
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |