npm package
Homeis-generator-fn
is-generator-fn is a utility package that checks if a given function is a generator function. It is useful in scenarios where distinguishing between regular functions and generator functions is necessary for control flow or asynchronous programming. This package can be integrated into applications that require type checking for functions.
- lurq health score
- 39/100
- Confidence
- unproven
- Weekly downloads
- 29,696,460
- Latest version
- 3.0.0
- Last release
- Aug 11, 2021
- License
- MIT
Should you depend on is-generator-fn?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks is-generator-fn 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
Upgrading is-generator-fn
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 2.1.0 → 3.0.0diff ready
- 1.0.0 → 2.1.0being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 13, 2026; this page refreshes every 168 hours. Source repository.