babel-preset-stage-0-kneden
Babel
stage-0
preset, with async/await powered by kneden instead of regenerator.Automatically kept in sync with
babel-preset-stage-0
via modify-babel-preset.
Installation
Installation requires installing two peer dependencies.
While this is a little more typing up front, it means you remain in control of versioning - this preset simply combines the two versions you choose to install.
$ npm i -S babel-preset-stage-0-kneden babel-preset-stage-0 babel-plugin-async-to-promises
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel script.js --presets stage-0-kneden
Via Node API
;