babel-helper-remap-koa2-async-to-generator
Turn async functions into ES2015 generators (Koav2 -> Koav1).
Installation
$ npm install babel-helper-remap-koa2-async-to-generator
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel --plugins transform-koa2-async-to-generator script.js
Via Node API
;