sindresorhus / p-break
Break out of a promise chain
☆21Updated 3 years ago
Related projects: ⓘ
- Wait for a specified number of promises to be fulfilled☆34Updated 10 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 4 months ago
- Check if a value is an error constructor☆13Updated 3 years ago
- Conditional promise chains☆59Updated 3 years ago
- Check if something is a promise☆46Updated 3 years ago
- Iterate over promises serially☆49Updated 2 years ago
- A better `Promise.race()`☆45Updated last year
- Run promise-returning & async functions repeatedly until you end it☆43Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Gracefully restore the CLI cursor on exit☆34Updated last month
- Get an array of parent directories including itself☆27Updated 10 months ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Simple wildcard matching☆34Updated 2 years ago
- Reduce a list of values using promises into a promise for a value☆67Updated last year
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Resolve the path of a globally installed module☆41Updated 10 months ago
- Get the set npm registry URL☆53Updated 2 years ago
- Rename a function☆45Updated 10 months ago
- Modify the values of an object☆28Updated 3 years ago
- Run promise-returning & async functions a specific number of times concurrently☆37Updated 2 years ago
- Check if a value is an object☆40Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Sort an array of numbers☆16Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago
- Create a Vinyl file from an actual file☆41Updated last year
- Get the path of the caller module☆64Updated 2 years ago