Latest / Developer tools

LazyPromise

github.com · Open source · Active

Lazy, cancelable Promise-like primitive with typed errors

Visit github.com ↗Share

  • promises
  • cancellation
  • cancelable promise
  • effect ts
  • type safe errors
  • cancelable promise typescrip
  • typed promise errors
  • lazy promise
Stars
73
Forks
1
Open issues
0
Last commit
Found
11 months ago

GitHub figures as of . They are context, not a ranking.

LazyPromise is a TypeScript async primitive with native Promise semantics that is lazy, cancelable, typed and synchronous. It propagates cancellation automatically and supports dependency injection, which suits developers building async flows in TypeScript.

Positioned as an alternative to Effect.

Repository description on GitHub: “An async primitive that has familiar semantics of a native promise, but supports auto-propagating cancellation, type-safe errors, and dependency injection.”

What it does

  • Lazy, cancelable Promise-like primitive in TypeScript
  • Typed errors and dependency injection
  • Emits synchronously instead of on the microtask queue
  • Cancellation propagates automatically

Good for

  • Build an async flow in TypeScript that cancels automatically
  • Handle async errors with types instead of untyped rejections

Suits: TypeScript developers building async flows.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw LazyPromise on , when ivan7237d posted it to Show HN. GitHub listed no published releases for lazy-promise/lazy-promise when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 34 points, 10 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 34 points, 10 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: lazy-promise/lazy-promise
  2. Found: ivan7237d posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was LazyPromise released?
No dated release record is available. Kip found it on Show HN on 19 Dec 2025.
Is LazyPromise open source?
Its source is public on GitHub at lazy-promise/lazy-promise under the MIT licence.
What does LazyPromise run on?
Library.
Is LazyPromise free?
It is open source, so the code is free to read and run; check the licence for terms.
Is LazyPromise still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorylazy-promise/lazy-promise
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-46321852. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.