Search results
209 packages found
A simple and composable way to validate data in JavaScript (and TypeScript).
Throw better errors.
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
A simple and composable way to validate data in JavaScript (and TypeScript).
Make unhandled promise rejections fail loudly instead of the default silent fail
It makes simple throw qualified errors.
A simple and composable way to validate data in JavaScript (and TypeScript).
Method to expect that an async function throws
|| DIE('reason') Throws an error like PHP 's `or DIE('REASON')`, Simple error throwing in a functional dev.
|| DIE('reason') Throws an error like PHP 's `or DIE('REASON')`, Simple error throwing in a functional dev.
Throw better errors.
A type-safe way to create and handle errors.
Typed CLI argv parser and main function wrapper
💣 Lints unhandled functions that might throw errors. For JavaScript/TypeScript eslint.
A simple and composable way to validate data in JavaScript (and TypeScript).
Errors.
Simple one-liner to throw error on occasional situations