This is a small JavaScript utility that checks whether a given value is a native ES6 generator function. It’s useful when you need to detect generator functions (for example, to handle generator-based control flow differently).
Project status
- The source appears to be actively maintained, with a recent upstream push on 2025-12-30 and new tagged updates through 2025-09 (latest shown is v1.1.2).
- Apparent update cadence is irregular, with a quick succession of updates in late September 2025 (v1.1.1 on 2025-09-29, v1.1.2 on 2025-09-30), then a longer gap until v1.1.0 on 2025-01-02.
AI summary generated Today
Recent updates
v1.1.2
8 months agoThis release updates the generator-function detection logic in index.js and bumps several dependencies in package.json. The provided release notes for v1.1.2 are empty, so the only stated changes visible are embedded in CHANGELOG.md.
v1.1.1
8 months agov1.1.1 is a small refactor release that bumps the package version from 1.1.0 to 1.1.1. The main change in the code is how the generator function constructor is detected, moving from inline logic to using the external `generator-function` dependency.
v1.1.0
1/2/2025Release v1.1.0 was published on 2025-01-02, but no release notes were provided by the publisher. As a result, this release cannot be assessed for specific new features, breaking changes, or fixes based on the available documentation.