sindresorhus / ensure-errorLinks
Ensures a value is a valid error by making it one if not
☆77Updated 3 years ago
Alternatives and similar repositories for ensure-error
Users that are interested in ensure-error are comparing it to the libraries listed below
Sorting:
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Conditional promise chains☆62Updated 4 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆55Updated 10 months ago
- Get the path of the parent module☆78Updated last year
- 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
- Extract the actual stack of an error☆66Updated 3 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Rename a function☆46Updated last year
- Clean and beautiful options for minimist☆53Updated 3 years ago
- Get the path of the caller module☆65Updated 3 years ago
- Write data to a random temporary file☆105Updated last year
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆54Updated 2 years ago
- Input module for Listr☆33Updated 5 years ago
- Create a hash for file revving☆105Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Hook and modify stdout and stderr☆54Updated 3 years ago
- Clean up regular expressions☆62Updated last year
- Allow only access to known object properties using ES2015 Proxy☆86Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Check if a project is using Yarn☆97Updated 3 years ago
- A simple mock injector compatible needing no instrumentation in the libraries being tested☆32Updated 4 years ago