Search results

198 packages found

Method to expect that an async function throws

published 3.0.46 a month ago
M
Q
P

A simple and composable way to validate data in JavaScript (and TypeScript).

published 1.0.4 a month ago
M
Q
P

Errors.

published 0.2.1 3 months ago
M
Q
P

Make unhandled promise rejections fail hard right away instead of the default silent fail

published 2.1.0 5 years ago
M
Q
P

Throw an error (and allow to stop flow) if an async function takes more than a set duration

published 1.1.2 2 months ago
M
Q
P

Optional datatype for Typescript

published 1.0.1 6 months ago
M
Q
P

Color utility for Javascript

published 1.0.1 6 months ago
M
Q
P

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.

published 3.2.0 8 months ago
M
Q
P

ESLint plugin to highlight unawaited .catch() calls that contain throw statements

published 0.0.5 25 days ago
M
Q
P

Throw better errors.

published 7.1.3 4 years ago
M
Q
P

Robust and type-safe error management inspired by Rust's Result pattern

published 0.2.3 5 months ago
M
Q
P

A simple function wrapper for ignoring errors thrown.

published 0.2.5 2 months ago
M
Q
P

Make unhandled promise rejections fail loudly instead of the default silent fail

published 2.2.0 5 years ago
M
Q
P

Throw a given error

published 2.0.2 2 years ago
M
Q
P

Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify

published 1.1.1 9 years ago
M
Q
P

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

published 1.0.0 9 years ago
M
Q
P

Error3 is proper JS error implementation. It supports error codes, message formatting (e.g. i18n) and nested errors.

published 3.1.1 5 years ago
M
Q
P

Collection of functions that return specific values (noop, true, false, echo, etc)

published 1.0.6 8 years ago
M
Q
P
M
Q
P

Try to parse a string as JSON and return undefined on failure

published 1.1.4 7 years ago
M
Q
P