Back to Explore

ljharb/async-function

GitHub
2 watchersOpen source

Last release:

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 to be quiet-to-low activity: the provided evidence shows a last upstream push on 2026-04-21, but the most recent documented update/tag is v1.0.0 from 2025-01-23, with no newer update summaries included.
  • Apparent update cadence is relatively infrequent, with a long gap between v0.1.0 (2016) and v1.0.0 (2025), and no additional documented updates since v1.0.0 despite activity in 2026.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.0

    v1.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.

    BreakingFeatures
  • v0.1.0

    This 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.