sindresorhus / p-lazyView external linksLinks
Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called
☆285Oct 28, 2024Updated last year
Alternatives and similar repositories for p-lazy
Users that are interested in p-lazy are comparing it to the libraries listed below
Sorting:
- Create a deferred promise☆84Sep 8, 2025Updated 5 months ago
- Create a lazily evaluated value☆69Apr 8, 2021Updated 4 years ago
- Create a promise that can be canceled☆447Sep 9, 2025Updated 5 months ago
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Define a lazily evaluated property on an object☆67Mar 19, 2023Updated 2 years ago
- Conditional promise catch handler☆40Apr 9, 2021Updated 4 years ago
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- A better `Promise.race()`☆51Dec 13, 2022Updated 3 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Oct 16, 2024Updated last year
- Run promise-returning & async functions a specific number of times concurrently☆41Oct 4, 2021Updated 4 years ago
- Exclude certain items from an array☆23Jun 13, 2025Updated 8 months ago
- Creates a readable stream producing cryptographically strong pseudo-random data using `crypto.randomBytes()`☆78Aug 12, 2021Updated 4 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Iterate over promises serially☆52Jul 8, 2022Updated 3 years ago
- Tap into a promise chain without affecting its value or state☆134Apr 8, 2021Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆74Feb 11, 2023Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Log the value/error of a promise☆29Apr 9, 2021Updated 4 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Like `Promise.all()` but for `Map` and `Object`☆200Sep 21, 2025Updated 4 months ago
- Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency☆94Sep 11, 2025Updated 5 months ago
- Add editor-like tab-to-indent functionality to <textarea>, in a few bytes☆161Sep 7, 2023Updated 2 years ago
- DOM event delegation, in <1KB☆199Oct 11, 2025Updated 4 months ago
- Run promise-returning & async functions repeatedly until you end it☆48Feb 2, 2026Updated 2 weeks ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- List of JavaScript types☆83Apr 30, 2024Updated last year
- Filter promises concurrently☆80Dec 27, 2023Updated 2 years ago
- Assert a Map has a given key and return the value for it.☆12Nov 20, 2022Updated 3 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Check if stdout or stderr is interactive☆119Nov 6, 2023Updated 2 years ago
- Wait for a condition to be true☆166Sep 21, 2025Updated 4 months ago
- Start a promise chain☆60Sep 16, 2025Updated 5 months ago
- Generate a URL for opening a new GitHub release with prefilled tag, body, and other fields☆122Aug 31, 2023Updated 2 years ago
- Get the version of a binary in semver format☆36Apr 3, 2024Updated last year
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Feb 3, 2026Updated last week
- Measure the time a promise takes to resolve☆72Nov 5, 2023Updated 2 years ago