Back to Explore

inspect-js/is-async-function

GitHub
1 watchersOpen source

Last release: 1/23/2025

is-async-function is a small JavaScript utility that checks whether a value is a native async function. It is useful for runtime type checks when you need to detect async functions versus regular, generator, or non-function values.

Project status

  • Active maintenance: The source shows recent repository activity (last upstream push on 2025-12-30) and published updates in early 2025 (v2.1.0, v2.1.1), suggesting it is at least periodically maintained.
  • Update cadence: There is a long gap before 2025 (v2.0.0 in 2022), then two updates close together in January 2025 (v2.1.0 on 2025-01-02, v2.1.1 on 2025-01-23).

AI summary generated Today

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

Recent updates

  • v2.1.1

    1/23/2025

    v2.1.1 refactors async function detection to rely on the external `async-function` package instead of using an inline `Function`-constructor helper. Alongside the runtime change, the package metadata and TypeScript typings were adjusted (including adding a Node `exports` map).

    Security
  • v2.1.0

    1/2/2025

    Release v2.1.0 has no publisher-provided release notes, so the only information about changes comes from the actual repository diff. This update primarily refactors the async-function detection implementation, adds new runtime dependencies, and introduces TypeScript typings.

    BreakingSecurityFeatures
  • v2.0.0

    4/12/2022

    Release v2.0.0 was published on 2022-04-12, but the publisher did not provide any release notes. As a result, there is no documented information here about new features, breaking changes, bug fixes, security updates, performance improvements, migrations, or dependency changes.