babel-preset-stage-2-without-async
Use stage-2 Babel features without transform-async-generator-functions
.
There's no need to transform async
to generator-functions
on Node.js >= v7.6
.
Installation
Installation requires installing a peer dependence.
yarn add -D babel-preset-stage-2 babel-preset-stage-2-without-async
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
babel script.js --presets stage-2-without-async
Via Node API
;
License
MIT © Cap32