sindresorhus / p-breakView external linksLinks
Break out of a promise chain
☆24Apr 7, 2021Updated 4 years ago
Alternatives and similar repositories for p-break
Users that are interested in p-break are comparing it to the libraries listed below
Sorting:
- Log the value/error of a promise☆29Apr 9, 2021Updated 4 years ago
- Repeat text☆17May 3, 2021Updated 4 years ago
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Iterate over promises serially☆52Jul 8, 2022Updated 3 years ago
- Reduce a list of values using promises into a promise for a value☆74Feb 11, 2023Updated 3 years ago
- Map over promises serially☆50Apr 9, 2021Updated 4 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆48Feb 2, 2026Updated last week
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Oct 16, 2024Updated last year
- Create a lazily evaluated value☆69Apr 8, 2021Updated 4 years ago
- Conditional promise catch handler☆40Apr 9, 2021Updated 4 years ago
- Conditional promise chains☆63Apr 9, 2021Updated 4 years ago
- A better `Promise.race()`☆51Dec 13, 2022Updated 3 years ago
- Get the path to this package - Useful for testing☆22Aug 9, 2021Updated 4 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Apr 9, 2021Updated 4 years ago
- Calls a function repeatedly while a condition returns true and then resolves the promise☆37Aug 29, 2024Updated last year
- Import a module like with `require()` but from a given path☆86Jul 8, 2022Updated 3 years ago
- Get the terminal window size on Windows☆13Nov 4, 2023Updated 2 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 4 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Feb 3, 2026Updated last week
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last week
- Get metadata on the default editor or a specific editor☆55Sep 10, 2025Updated 5 months ago
- Run promise-returning & async functions in series☆71Aug 12, 2021Updated 4 years ago
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Run promise-returning & async functions a specific number of times concurrently☆41Oct 4, 2021Updated 4 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Rename a function☆46Nov 5, 2023Updated 2 years ago
- Get the email of an npm user☆14Feb 26, 2024Updated last year
- Resolve the path of a globally installed module☆42Nov 6, 2023Updated 2 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Returns a promise resolved in the next event loop - think `setImmediate()`☆72Apr 9, 2021Updated 4 years ago
- Create a deferred promise☆84Sep 8, 2025Updated 5 months ago
- [DEPRECATED] Kap plugin - Copy GIFs to clipboard☆15Jul 7, 2020Updated 5 years ago
- Define a lazily evaluated property on an object☆67Mar 19, 2023Updated 2 years ago
- Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency☆94Sep 11, 2025Updated 5 months ago