https://github.com/benjamn/es7-async-await
Transformer that converts async functions and await expressions into ECMAScript 6 generator functions and yield expressions
https://github.com/benjamn/es7-async-await
Last synced: 12 months ago
JSON representation
Transformer that converts async functions and await expressions into ECMAScript 6 generator functions and yield expressions
- Host: GitHub
- URL: https://github.com/benjamn/es7-async-await
- Owner: benjamn
- License: mit
- Created: 2014-09-05T21:33:19.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-03-18T16:09:32.000Z (over 9 years ago)
- Last Synced: 2025-06-04T00:55:59.852Z (about 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 43
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
es7-async-await
===============
Transformer that converts `async` functions and `await` expressions into ECMAScript 6 generator functions and `yield` expressions.
Note that this transform is only really useful if you know you're targeting a platform that supports generator functions natively. Otherwise, you're better off using [Regenerator](https://github.com/facebook/regenerator), since it has the ability to transform `async` functions into ES5 without creating immediately-invoked `GeneratorFunction`s.