Search results

210 packages found

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

published version 2.1.0, 6 years ago564 dependents licensed under $MIT
41,801,546

Throw a given error

published version 2.0.2, 3 years ago80 dependents licensed under $MIT
37,492,942

Throw better errors.

published version 7.1.3, 4 years ago82 dependents licensed under $MIT
17,867,499

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

published version 2.2.0, 5 years ago356 dependents licensed under $MIT
17,487,282

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

published version 2.0.2, 5 months ago705 dependents licensed under $MIT
7,716,432

Throw better errors.

published version 7.1.3, 4 years ago97 dependents licensed under $MIT
3,717,268

Safe Window Getters

published version 1.0.1, 2 years ago27 dependents licensed under $MIT
1,950,384

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

published version 3.1.0, 6 months ago29 dependents licensed under $MIT
831,636

Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.

published version 1.0.0, 11 years ago8 dependents licensed under $MIT
601,694

It makes simple throw qualified errors.

published version 4.1.7, a year ago11 dependents licensed under $MIT
450,239

Skema provides a handy & composable way to validate / transform / purify the input data.

published version 9.5.5, 5 years ago11 dependents licensed under $MIT
107,599

Assert a given object is a valid glob option

published version 1.0.0, 8 years ago2 dependents licensed under $CC0-1.0
138,858

Makes Jest throw on React prop-type failures

published version 1.1.0, 7 years ago10 dependents licensed under $MIT
113,816

putout plugin adds ability to convert throw statement into throw expression

published version 1.0.1, 5 years ago0 dependents licensed under $MIT
25,144

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

published version 1.1.1, 9 years ago7 dependents licensed under $MIT
35,022

Safe Window Getters

published version 1.0.1, 4 years ago6 dependents licensed under $MIT
21,985

Like new Promise(), but prevents implicit rejection

published version 1.0.1, 10 years ago15 dependents licensed under $MIT
18,396

Promisified HTTP client

published version 2.0.1, 7 years ago19 dependents licensed under $MIT
18,777

Allows you, through a simple function, to throw an error inside an expression

published version 2.1.0, 10 months ago6 dependents licensed under $MIT
10,988

|| DIE('reason') Throws an error like PHP 's `or DIE('REASON')`, Simple error throwing in a functional dev.

published version 1.2.14, 2 months ago5 dependents licensed under $ISC
11,297