sindresorhus / p-is-promiseView external linksLinks
Check if something is a promise
☆45Apr 16, 2021Updated 4 years ago
Alternatives and similar repositories for p-is-promise
Users that are interested in p-is-promise are comparing it to the libraries listed below
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 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
- Break out of a promise chain☆24Apr 7, 2021Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Run promise-returning & async functions in series☆71Aug 12, 2021Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated 3 weeks ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 2 weeks ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Log the value/error of a promise☆29Apr 9, 2021Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆74Feb 11, 2023Updated 3 years ago
- Conditional promise catch handler☆40Apr 9, 2021Updated 4 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆78Feb 3, 2026Updated 2 weeks ago
- Start a promise chain☆60Sep 16, 2025Updated 5 months ago
- A better `Promise.race()`☆51Dec 13, 2022Updated 3 years ago
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Filter promises concurrently☆80Dec 27, 2023Updated 2 years ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated last year
- Calls a function repeatedly while a condition returns true and then resolves the promise☆37Aug 29, 2024Updated last year
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Simple `setImmediate` shim☆29Sep 13, 2025Updated 5 months ago
- Get the email of an npm user☆14Feb 26, 2024Updated last year
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago