sindresorhus / p-cancelableView external linksLinks
Create a promise that can be canceled
☆447Sep 9, 2025Updated 5 months ago
Alternatives and similar repositories for p-cancelable
Users that are interested in p-cancelable are comparing it to the libraries listed below
Sorting:
- Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called☆285Oct 28, 2024Updated last year
- Timeout a promise after a specified amount of time☆299Oct 7, 2025Updated 4 months ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Oct 16, 2024Updated last year
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Promisify an event by waiting for it to be emitted☆445Jan 19, 2026Updated 3 weeks ago
- Create a promise that reports progress☆766Nov 4, 2023Updated 2 years ago
- Like `Promise.all()` but for `Map` and `Object`☆200Sep 21, 2025Updated 4 months ago
- Ensures a value is a valid error by making it one if not☆86Sep 15, 2025Updated 4 months ago
- Wait for a condition to be true☆166Sep 21, 2025Updated 4 months ago
- Create an error from multiple errors☆249Sep 14, 2023Updated 2 years ago
- Delay a promise a specified amount of time☆627Oct 31, 2025Updated 3 months ago
- Detect when an element is ready in the DOM☆447Jan 27, 2026Updated 2 weeks ago
- Clean up error stack traces☆346Nov 4, 2025Updated 3 months ago
- Measure the time a promise takes to resolve☆72Nov 5, 2023Updated 2 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Jul 8, 2022Updated 3 years ago
- Debounce promise-returning & async functions☆233Nov 11, 2025Updated 3 months ago
- Type check values☆1,759Dec 27, 2025Updated last month
- Promisify a callback-style function☆1,514Sep 12, 2022Updated 3 years ago
- Get all property keys of an object including non-enumerable and inherited ones☆110Sep 7, 2021Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆74Feb 11, 2023Updated 3 years ago
- Decompress a HTTP response if needed☆75Oct 13, 2025Updated 4 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last week
- Mimic a Node.js HTTP response stream☆61Nov 5, 2023Updated 2 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Feb 3, 2026Updated last week
- Run the Node.js binary no matter what☆142Sep 15, 2025Updated 4 months ago
- Conditional promise catch handler☆40Apr 9, 2021Updated 4 years ago
- Create a lazily evaluated value☆69Apr 8, 2021Updated 4 years ago
- [DEPRECATED] Kap plugin - Copy GIFs to clipboard☆15Jul 7, 2020Updated 5 years ago
- Let a globally installed package use a locally installed version of itself if available☆155Jul 22, 2024Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Simple “Least Recently Used” (LRU) cache☆752Oct 10, 2025Updated 4 months ago
- Creates a minimal Express server for testing☆119Oct 10, 2019Updated 6 years ago
- Compare, format, diff and serialize any JavaScript value☆210Aug 17, 2025Updated 5 months ago
- Calls a function repeatedly while a condition returns true and then resolves the promise☆37Aug 29, 2024Updated last year
- Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency☆94Sep 11, 2025Updated 5 months ago
- Make unhandled promise rejections fail loudly instead of the default silent fail☆282Jan 24, 2021Updated 5 years ago
- Create a deferred promise☆84Sep 8, 2025Updated 5 months ago
- Map over promises serially☆50Apr 9, 2021Updated 4 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago