sindresorhus / ensure-errorLinks
Ensures a value is a valid error by making it one if not
☆84Updated 3 months ago
Alternatives and similar repositories for ensure-error
Users that are interested in ensure-error are comparing it to the libraries listed below
Sorting:
- Lazy number range generator☆82Updated last year
- Conditional promise chains☆63Updated 4 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Define a lazily evaluated property on an object☆67Updated 2 years ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Get the path of the parent module☆79Updated 3 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Map over promises serially☆50Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Updated 3 years ago
- A simple mock injector compatible needing no instrumentation in the libraries being tested☆32Updated 5 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆56Updated 3 months ago
- Iterate over promises serially☆52Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- A better `Promise.race()`☆51Updated 3 years ago
- Input module for Listr☆33Updated 5 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Updated 10 months ago
- Locate a program or locally installed node module's executable☆78Updated 9 years ago
- Indent each line in a string☆114Updated 3 years ago
- Hook and modify stdout and stderr☆56Updated 3 months ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated 2 years ago
- Rename a function☆47Updated 2 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Convert an Observable to a Promise☆52Updated 2 years ago
- Run promise-returning & async functions a specific number of times concurrently☆41Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆48Updated 4 years ago