This package has been deprecated

Author message:

Deprecated

babel-preset-react-node6

1.0.0 • Public • Published

babel-preset-react-node6 Build Status

Babel preset to make node@6 fully ES2015 compatible.

Node@6 has great ES2015 support, this module just adds missing features:

And:

Install

$ npm install --save-dev babel-preset-react-node6

Usage

Read "Configuring Babel 6" article for more information about babel@6 configuration.

Via .babelrc (recommended)

.babelrc

{
  "presets": ["react-node6"]
}

Via CLI

babel script.js --presets react-node6

Via Node API

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

Credits

License

MIT

Package Sidebar

Install

npm i babel-preset-react-node6

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • lestad