Back to Explore

kettanaito/until-async

GitHub
1 watchersOpen source

Last release: 8 months ago

until-async provides a small utility for handling Promises with async/await without repeating try/catch blocks. It wraps a function that returns a Promise and returns a NodeJS-friendly tuple of [error, data], making it convenient to work with resolved values and exceptions.

Project status

  • The repository appears actively maintained, with a recent upstream push on 2026-06-01, though the provided published update history only shows versions up to v3.0.2 in 2025-09.
  • Apparent update cadence based on published versions: v3.0.0, v3.0.1, and v3.0.2 land close together on 2025-09-20, but there is no evidence here of additional published updates after v3.0.2.

AI summary generated Today

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

Recent updates

  • v3.0.2

    8 months ago

    Release v3.0.2 updates the package metadata to use the new npm package name `until-async` (and related repository links) instead of `@open-draft/until`. The code diff only touches README and `package.json`, indicating this is primarily a republishing/rename release rather than a functional change.

    Breaking
  • v3.0.1

    8 months ago

    v3.0.1 is a small release focused on warning users that the package has been republished under a new npm name, until-async. The code changes are limited to README documentation and a package.json version bump, with no runtime logic changes evident from the diff.

  • v3.0.0

    8 months ago

    v3.0.0 makes the package ESM-only and changes the `until` API to return a discriminated tuple union `[error, data]` instead of the previous object shape. The release also refactors the implementation into `src/index.ts` and updates the project tooling (TypeScript, test runner, build pipeline) as part of the major version.

    BreakingFeatures
  • v2.1.0

    4/18/2023

    v2.1.0 primarily updates the package build and distribution to support ESM, including conditional export wiring for import usage. The actual library source change in this diff is limited to adjusting JSDoc, while most other changes are packaging, build tooling, CI, and repository configuration.

    Features
  • v2.0.0

    2/16/2022

    v2.0.0 introduces breaking API changes to the `until` helper, including its call signature and generic parameter order. You will need to update how you destructure the return value to match the new `{ error, data }` object form.

    Breaking