lurq

npm package

Home

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

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 13, 2026; this page refreshes every 24 hours. Source repository.