Search results
213 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
GraphQL Semantic Output Conversion Kit - converts a cutting edge SDL file that supports semantic nullability into a more traditional SDL file legacy tools can support.
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.
Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify
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
Like new Promise(), but prevents implicit rejection
If X, return Y, else throw Z.
💣 Lints unhandled functions that might throw errors. For JavaScript/TypeScript eslint.
Throw on console.error() & fetch