sindresorhus / p-deferView external linksLinks
Create a deferred promise
☆84Sep 8, 2025Updated 5 months ago
Alternatives and similar repositories for p-defer
Users that are interested in p-defer are comparing it to the libraries listed below
Sorting:
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Nov 4, 2023Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Oct 16, 2024Updated last year
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Break out of a promise chain☆24Apr 7, 2021Updated 4 years ago
- Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called☆285Oct 28, 2024Updated last year
- A better `Promise.race()`☆51Dec 13, 2022Updated 3 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Reduce a list of values using promises into a promise for a value☆74Feb 11, 2023Updated 3 years ago
- 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
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Iterate over promises serially☆52Jul 8, 2022Updated 3 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Conditional promise catch handler☆40Apr 9, 2021Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 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
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Exclude certain items from an array☆23Jun 13, 2025Updated 8 months ago
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 4 years ago
- Log the value/error of a promise☆29Apr 9, 2021Updated 4 years ago
- Create a lazily evaluated value☆69Apr 8, 2021Updated 4 years ago
- Get the name of a named function☆34Apr 7, 2021Updated 4 years ago
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Run promise-returning & async functions a specific number of times concurrently☆41Oct 4, 2021Updated 4 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Map over promises serially☆50Apr 9, 2021Updated 4 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if a domain is public☆15Aug 10, 2021Updated 4 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Start a promise chain☆60Sep 16, 2025Updated 4 months ago