Search results
198 packages found
Method to expect that an async function throws
Errors.
A simple and composable way to validate data in JavaScript (and TypeScript).
Throw an error (and allow to stop flow) if an async function takes more than a set duration
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
Optional datatype for Typescript
Color utility for Javascript
Set of methods allowing simplify work with promises in cycle such as: forEach, map, find, filter, reduce, while, transform. Besides there are methods for comfortable work with promises or asynchronous operations - all, retry, timeout.
- promise
- promises
- performance
- async
- await
- deferred
- deferreds
- future
- flow control
- fluent interface
- promise methods
- foreach
- reduce
- filter
- View more
ESLint plugin to highlight unawaited .catch() calls that contain throw statements
Robust and type-safe error management inspired by Rust's Result pattern
Throw better errors.
A simple function wrapper for ignoring errors thrown.
Make unhandled promise rejections fail loudly instead of the default silent fail
Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify
Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call
Error3 is proper JS error implementation. It supports error codes, message formatting (e.g. i18n) and nested errors.
Java 8 Optionals for JS
- java
- cupiditate
- oracle
- reprehenderit
- dignissimos
- blanditiis
- lambda
- optionals
- numquam
- ifPresent
- try
- dolores
- ofNullable
- throw
Collection of functions that return specific values (noop, true, false, echo, etc)
Try to parse a string as JSON and return undefined on failure
- invalid
- circular
- json
- parse
- stringify
- serialize
- parsing
- serialization
- stringification
- try
- catch
- try/catch
- exception
- exceptions
- View more