babel-creed-async

1.0.3 • Public • Published

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"]
}

/babel-creed-async/

    Package Sidebar

    Install

    npm i babel-creed-async

    Weekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • briancavalier