babel-creed-async
v1.0.3
Published
Enable ES7 async functions using creed coroutines
Downloads
30
Readme
babel-creed-async
Use ES7 async functions with babel and creed. This babel plugin turns ES7 async functions into creed coroutines.
Check out an example.
Get it
npm install --save-dev babel-creed-async
npm install --save creed
Command line
Add babel-creed-async
as a plugin and blacklist regenerator
.
babel --plugins babel-creed-async -b regenerator ...
babelrc
Add babel-creed-async
as a plugin and blacklist regenerator
in .babelrc or in the babel section of package.json.
{
"plugins": ["babel-creed-async"],
"blacklist": ["regenerator"]
}