lurq

npm package

Home

generator-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

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.