sindresorhus / p-reflectView external linksLinks
Make a promise always fulfill with its actual fulfillment value or rejection reason
☆56Sep 11, 2025Updated 5 months ago
Alternatives and similar repositories for p-reflect
Users that are interested in p-reflect are comparing it to the libraries listed below
Sorting:
- Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency☆94Sep 11, 2025Updated 5 months ago
- Log the value/error of a promise☆29Apr 9, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Run promise-returning & async functions repeatedly until you end it☆48Feb 2, 2026Updated last week
- Run promise-returning & async functions a specific number of times concurrently☆41Oct 4, 2021Updated 4 years ago
- Map over promises serially☆50Apr 9, 2021Updated 4 years ago
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Debounce promise-returning & async functions☆233Nov 11, 2025Updated 3 months ago
- Break out of a promise chain☆24Apr 7, 2021Updated 4 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
- Sort an array of numbers☆18Sep 18, 2025Updated 4 months ago
- Get the email of an npm user☆14Feb 26, 2024Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Test whether some promise passes a testing function☆14Mar 15, 2019Updated 6 years ago
- Test whether all promises passes a testing function☆12Mar 15, 2019Updated 6 years ago
- Iterate over promises serially☆52Jul 8, 2022Updated 3 years ago
- Like `Promise.all()` but for `Map` and `Object`☆200Sep 21, 2025Updated 4 months ago
- Define a lazily evaluated property on an object☆67Mar 19, 2023Updated 2 years 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
- Create a lazily evaluated value☆69Apr 8, 2021Updated 4 years ago
- Measure the time a promise takes to resolve☆72Nov 5, 2023Updated 2 years ago
- Start a promise chain☆60Sep 16, 2025Updated 4 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Run promise-returning & async functions in series, each passing its result to the next☆78Sep 11, 2025Updated 5 months ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Returns a promise resolved in the next event loop - think `setImmediate()`☆72Apr 9, 2021Updated 4 years ago
- Generate a random float☆37Apr 18, 2021Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆74Feb 11, 2023Updated 3 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year