@babel/plugin-transform-async-to-generator transforms async functions into generator functions, effectively enabling compatibility with older JavaScript environments that don't natively support async/await. It replaces async functions with equivalent generator function implementations using Babel's transformation capabilities. This plugin is crucial for ensuring your modern JavaScript code runs seamlessly in legacy browsers or Node.js versions, bridging the gap between evolving language features and broader platform support. Consequently you can write modern code but produce output to run on older targets.
The npm package @babel/plugin-transform-async-to-generator saw sporadic releases between August 2018 and August 2025. Peak release activity occurred in 2019 and 2020 with several months having multiple versions. Releases became less frequent after 2021, with some months seeing updates, especially around the end of 2024 with 2 releases in October. The latest release recorded was in April 2025.
@babel/plugin-transform-async-to-generator downloads show generally high usage. From March 2024 to August 2025, downloads were consistently between 69 million and 135 million. September 2025 downloads are significantly lower, but the month is not yet complete. Download numbers appear stable with growth over time.