generator-function

A function that returns the normally hidden `GeneratorFunction` constructor

generator-function@2.0.1 was published on 2025-09-30. Its manifest declares 0 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >= 0.4.

All generator-function versions · Permanent reference to 2.0.1

Package specifications

Version2.0.1
License declarationMIT
Published2025-09-30T18:23:33.207Z
Node.js requirement>= 0.4
Type declarationsNot declared
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size9.84 KiB
Published file count15
Package typeNot declared
ES module entry./index.mjs
Default entry./legacy.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies0
Repository stars2
Repository forks1

Install generator-function 2.0.1

npm install generator-function@2.0.1
pnpm add generator-function@2.0.1
yarn add generator-function@2.0.1

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

    How to interpret the specifications

    Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

    Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

    OpenSSF repository checks

    Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

    Maintained0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
    Binary-Artifacts10/10 — no binaries found in the repo
    Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
    Code-Review0/10 — Found 0/8 approved changesets -- score normalized to 0
    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    SAST0/10 — no SAST tool detected
    Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Security-Policy0/10 — security policy file not detected
    Fuzzing0/10 — project is not fuzzed
    License10/10 — license file detected
    Branch-Protection0/10 — branch protection not enabled on development/release branches

    Evidence and freshness