Search results
210 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Make unhandled promise rejections fail hard right away instead of the default silent fail
- promise
- promises
- unhandled
- uncaught
- rejection
- hard
- fail
- catch
- throw
- handler
- exit
- debug
- debugging
- verbose
- View more
Throw a given error
Throw better errors.
Make unhandled promise rejections fail loudly instead of the default silent fail
A simple and composable way to validate data in JavaScript (and TypeScript).
Throw better errors.
Safe Window Getters
A simple and composable way to validate data in JavaScript (and TypeScript).
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
It makes simple throw qualified errors.
Skema provides a handy & composable way to validate / transform / purify the input data.
Assert a given object is a valid glob option
Makes Jest throw on React prop-type failures
putout plugin adds ability to convert throw statement into throw expression
Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify
Safe Window Getters
Like new Promise(), but prevents implicit rejection
Promisified HTTP client
Allows you, through a simple function, to throw an error inside an expression
|| DIE('reason') Throws an error like PHP 's `or DIE('REASON')`, Simple error throwing in a functional dev.