npm package
Homegenerator-function
The generator-function package provides a way to access the hidden `GeneratorFunction` constructor in JavaScript. It is useful when you need to create generator functions dynamically. This can be particularly beneficial in scenarios where generator functions are required but not directly accessible.
- lurq health score
- 49/100
- Confidence
- proven
- Weekly downloads
- 50,917,310
- Latest version
- 2.0.1
- Last release
- Sep 30, 2025
- License
- MIT
Should you depend on generator-function?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks generator-function at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- @puppeteer/browsers94/100 · proven
- puppeteer-core94/100 · proven
- puppeteer94/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 8, 2026; this page refreshes every 24 hours. Source repository.