babel-preset-es2015-native-generators

6.6.0 • Public • Published

babel-preset-es2015-native-generators

Babel preset for all es2015 plugins except transform-regenerator is replaced by transform-async-to-generator

Install

$ npm install --save-dev babel-preset-es2015-native-generators

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["es2015-native-generators"]
}

Via CLI

$ babel script.js --presets es2015-native-generators

Via Node API

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

Readme

Keywords

none

Package Sidebar

Install

npm i babel-preset-es2015-native-generators

Homepage

babeljs.io/

Weekly Downloads

70

Version

6.6.0

License

MIT

Last publish

Collaborators

  • mattecapu