sindresorhus / p-break
Break out of a promise chain
☆23Updated 3 years ago
Alternatives and similar repositories for p-break:
Users that are interested in p-break are comparing it to the libraries listed below
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆36Updated 6 months ago
- Log the value/error of a promise☆26Updated 3 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Check if something is a promise☆46Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 10 months ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Iterate over promises serially☆50Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Create a lazily evaluated value☆69Updated 3 years ago
- Check if an Iterable is empty☆22Updated 3 years ago
- Linkify GitHub issue references☆46Updated 4 months ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 9 months ago
- Import a globally installed module☆57Updated last year
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Calls a function repeatedly while a condition returns true and then resolves the promise☆36Updated 5 months ago
- Conditional promise chains☆60Updated 3 years ago
- Check if a file path is a binary file☆44Updated 9 months ago
- Resolve the path of a globally installed module☆41Updated last year
- Conditional promise catch handler☆38Updated 3 years ago
- Check if your package was installed globally☆70Updated last year