Back to Explore

thenables/thenify

GitHub
2 watchersOpen source

Last release:

thenify turns callback-based functions into promise-based functions. It supports preserving multiple callback arguments as an array or object (via options), can optionally allow both callback and promise styles, and converts thrown async errors into promise rejections.

Project status

  • Maintenance status: The upstream GitHub activity is very old (last upstream push in 2020-10-25), and the most recent listed updates are from 2020-06-17 (3.3.1). As of 2026-06-09, this appears quiet or in maintenance mode rather than actively maintained.
  • Update cadence: Updates are highly sporadic, with long gaps between changes (for example, versions in 2015, 2016, 2017, 2020). There is no evidence of regular cadence in recent years.

AI summary generated

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

Recent updates

  • 3.3.1

    Version 3.3.1 updates thenify’s internal wrapper generation. The main change is removing dynamic code generation (eval) and replacing it with a closure-based wrapper, plus tests for unusual function name handling.

    Security
  • 3.3.0

    Release 3.3.0 introduces new `thenify` options for controlling how multiple callback arguments are mapped into the resolved value. The code changes add `options.multiArgs` and `options.withCallback`, plus corresponding tests and documentation updates, while the provided release notes contain no details (none were supplied by the publisher).

    Features
  • 3.2.1

    Release 3.2.1 was published on 2016-10-10, but no release notes were provided by the publisher. Because there is no documented change log, the specific functional, compatibility, and security impacts of this upgrade cannot be determined from the release notes alone.

  • 3.2.0

    Release 3.2.0 has no provided release notes. The code changes are small but include a significant dependency swap that changes how the library selects a Promise implementation at runtime.

    BreakingFeatures
  • 3.1.1

    Release 3.1.1 makes a small change to how thenify generates the wrapper function used for promises, specifically around sanitizing the source function name. Release notes are missing, so behavior and compatibility changes are inferred from the code diff.

    Breaking
  • 3.1.0

    Release 3.1.0 has no publisher-provided release notes. The code changes add a new API for backward compatible callback usage and refactor the wrapper generation logic to support this dual calling style.

    Features
  • 3.0.0

    Version 3.0.0 refactors the thenify API and adds/updates tests. The main functional change is the thenify function signature and how the generated wrapper function name is determined.

  • 2.0.0

    Release 2.0.0 was published on 2014-12-17, but no release notes were provided. As a result, this analysis cannot identify specific new features, breaking changes, bug fixes, security updates, or migration steps from the release notes alone.