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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    1
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i babel-creed-async

Weekly Downloads

2

Version

1.0.3

License

MIT

Last publish

Collaborators

  • briancavalier