babel-preset-es2015-sans-regenerator
v6.9.0
Published
Babel preset for all es2015 plugins without regenerator.
Downloads
4,014
Readme
babel-preset-es2015
Babel preset for all es2015 plugins.
Install
$ npm install --save-dev babel-preset-es2015
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["es2015"]
}
Via CLI
$ babel script.js --presets es2015
Via Node API
require("babel-core").transform("code", {
presets: ["es2015"]
});