babel-preset-es2015-node-plus
v5.1.0
Published
Babel preset for all es2015 plugins needed with latest stable node, plus object spread and function bind from ES2016+.
Downloads
6
Readme
babel-preset-es2015-node-plus
Babel preset for all es2015 plugins needed with latest stable node, plus object spread and function bind from ES2016+.
Install
$ npm install --save-dev babel-preset-es2015-node-plus
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["es2015-node-plus"]
}
Via CLI
$ babel script.js --preset es2015-node-plus
Via Node API
require("babel-core").transform("code", {
presets: ["es2015-node-plus"]
});