sindresorhus / p-immediateView external linksLinks
Returns a promise resolved in the next event loop - think `setImmediate()`
☆72Apr 9, 2021Updated 4 years ago
Alternatives and similar repositories for p-immediate
Users that are interested in p-immediate are comparing it to the libraries listed below
Sorting:
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Conditional promise catch handler☆40Apr 9, 2021Updated 4 years ago
- Log the value/error of a promise☆29Apr 9, 2021Updated 4 years ago
- Break out of a promise chain☆24Apr 7, 2021Updated 4 years ago
- Create a lazily evaluated value☆69Apr 8, 2021Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆48Feb 2, 2026Updated last week
- 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
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Oct 16, 2024Updated last year
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Apr 9, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Run promise-returning & async functions a specific number of times concurrently☆41Oct 4, 2021Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆74Feb 11, 2023Updated 3 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- A better `Promise.race()`☆51Dec 13, 2022Updated 3 years ago
- Simple `setImmediate` shim☆29Sep 13, 2025Updated 5 months ago
- Get the email of an npm user☆14Feb 26, 2024Updated last year
- Returns an array filled with the specified input☆43Jul 8, 2022Updated 3 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Iterate over promises serially☆52Jul 8, 2022Updated 3 years ago
- Simplified high resolution timing☆85Sep 13, 2024Updated last year
- Check if an Iterable is empty☆23Sep 14, 2025Updated 4 months ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Define a lazily evaluated property on an object☆67Mar 19, 2023Updated 2 years ago
- Lazy number range generator☆83Jan 2, 2024Updated 2 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆56Sep 11, 2025Updated 5 months ago
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- Run promise-returning & async functions in series☆71Aug 12, 2021Updated 4 years ago
- Rename a function☆46Nov 5, 2023Updated 2 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- Conditional promise chains☆63Apr 9, 2021Updated 4 years ago
- Bind all methods in an object to itself or a specified context☆59Apr 19, 2021Updated 4 years ago
- Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency☆94Sep 11, 2025Updated 5 months ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago