babel-plugin-polyfill-regenerator is a Babel plugin that automatically includes the regenerator-runtime polyfill when your code uses async/await or generators. By selectively adding the polyfill only when needed, it avoids unnecessary bloat in your final bundle. Ideal for targeting older environments, the plugin intelligently injects the import statement, ensuring proper execution of modern JavaScript features in browsers lacking native support. This simplifies development and optimizes code size.
Releases of babel-plugin-polyfill-regenerator were frequent in 2020 and 2021, with peaks in February 2021 (4 releases). Release frequency slowed down significantly from 2022 to 2025. There were no releases in August 2025. The most recent release was version 0.6.5 released in June 2025.
Babel-plugin-polyfill-regenerator downloads show a fluctuating but generally upward trend. From March 2024 to August 2025, downloads ranged from roughly 97 million to 124 million. Peak downloads occurred in June and July 2025, with August 2025 showing a slight decrease, likely due to incomplete monthly data.