async-function is a small package that returns the normally hidden AsyncFunction constructor when it is available. It is useful if you need to create async functions dynamically (for example, by calling new AsyncFunction(...) with a function body).
Project status
- The source appears actively maintained in the sense that there was a recent upstream push (2026-04-21), though the provided update summaries only include a major change from 2025-01-23 (v1.0.0).
- The apparent update cadence is low and irregular based on the available evidence, with a long gap between v0.1.0 (2016-09-15) and v1.0.0 (2025-01-23), and no additional documented version changes shown after that.
AI summary generated Today
Recent updates
v1.0.0
1/23/2025v1.0.0 is a major release that refactors the package API to expose a function, `getAsyncFunction()`, which returns the AsyncFunction constructor when available (otherwise `false`). It also adds ESM entrypoints and TypeScript declaration files, and introduces test coverage to validate behavior across Node versions.
BreakingFeaturesv0.1.0
9/15/2016This release is v0.1.0, but the publisher did not include any release notes. As a result, no developer-impacting changes (new features, fixes, or breaking changes) can be confirmed from the provided information. If you are upgrading, review the full changelog and compare tags to identify behavioral or API changes not documented here.