Start a promise chain
☆60Sep 16, 2025Updated 5 months ago
Alternatives and similar repositories for p-try
Users that are interested in p-try are comparing it to the libraries listed below
Sorting:
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Get the first fulfilled promise that satisfies the provided testing function☆78Feb 3, 2026Updated last month
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 6 months ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- A better `Promise.race()`☆51Dec 13, 2022Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Oct 16, 2024Updated last year
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 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
- Reduce a list of values using promises into a promise for a value☆74Feb 11, 2023Updated 3 years ago
- Log the value/error of a promise☆29Apr 9, 2021Updated 4 years ago
- Run promise-returning & async functions a specific number of times concurrently☆41Oct 4, 2021Updated 4 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Test whether all promises passes a testing function☆12Mar 15, 2019Updated 6 years ago
- Test whether some promise passes a testing function☆14Mar 15, 2019Updated 6 years ago
- Conditional promise catch handler☆40Apr 9, 2021Updated 4 years ago
- Map over promises serially☆50Apr 9, 2021Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Create a noop process and get the PID☆14Aug 10, 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 last month
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Iterate over promises serially☆52Jul 8, 2022Updated 3 years ago
- Get the command from a shebang☆24Aug 14, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago