Install
generator-function
A function that returns the normally hidden `GeneratorFunction` constructor
2.0.1Latest, 30 Sep 2025
482MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
3Stars
2.8/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- 🔄 Mastering JavaScript Generator Functions: A Practical Guide dev.to, 13 Jun 2025
- Mastering React Performance: Web Workers and Generator Functions dev.to, 29 Dec 2024
- What is generator function in JavaScript? and How does it work? dev.to, 22 Dec 2024
- Understanding the Need for Generator Functions in JavaScript stackoverflow.com, 26 Aug 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.