babel-plugin-transform-async-generator-functions weekly downloads statistics
By babel (204 listings) · npm · Babel plugins
Turn async generator functions into ES2015 generators
babel-plugin-transform-async-generator-functions has 228,133 recorded weekly downloads on npm, a decrease of 52.4% over the past 30 days.
It ranks #362 of 2,255 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -57.1%.
PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.
About babel-plugin-transform-async-generator-functions
babel-plugin-transform-async-generator-functions
Turn async generator functions and for-await statements to ES2015 generators
Example
In
Out
For await example
Example Usage
Try it Out in the REPL%20%7B%0A%20%20var%20stream%20%3D%20%5B%20Promise.resolve(4)%2C%20Promise.resolve(9)%2C%20Promise.resolve(12)%20%5D%3B%0A%20%20var%20total%20%3D%200%3B%0A%20%20for%20await%20(let%20val%20of%20stream)%20%7B%0A%20%20%20%20total%20%2B%3D%20await%20val%3B%0A%20%20%20%20yield%20total%3B%0A%20%20%7D%0A%7D%0A%0Afunction%20forEach(ai%2C%20fn)%20%7B%0A%20%20return%20ai.next().then(function%20(r)%20%7B%0A%20%20%20%20if%20(!r.done)%20%7B%0A%20%20%20%20%20%20fn(r)%3B%0A%20%20%20%20%20%20return%20forEach(ai%2C%20fn)%3B%0A%20%20%20%20%7D%0A%20%20%7D)%3B%0A%7D%0A%0Avar%20output%20%3D%200%3B%0AforEach(genAnswers()%2C%20function(val)%20%7B%20output%20%2B%3D%20val.value%20%7D)%0A.then(function%20()%20%7B%0A%20%20console.log(output)%3B%20%2F%2F%2042%0A%7D)%3B&experimental=true&loose=false&spec=false&playground=true&stage=0)
Installation
Usage
Via .babelrc (Recommended)
.babelrc
Via CLI
Via Node API
References
• Proposal: Asynchronous iteration for ECMAScript
Description from the npm listing.
- babel-plugin
Where babel-plugin-transform-async-generator-functions sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (543)Similar npm Babel plugins plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/babel-plugin-transform-async-generator-functions. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.