Search results

213 packages found

Throw a given error

published version 2.0.2, 4 years ago83 dependents licensed under $MIT
46,724,150

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

published version 2.1.0, 6 years ago579 dependents licensed under $MIT
46,447,377

Throw better errors.

published version 7.1.3, 5 years ago79 dependents licensed under $MIT
21,929,418

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

published version 2.2.0, 6 years ago356 dependents licensed under $MIT
18,888,948

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

published version 2.0.2, a year ago743 dependents licensed under $MIT
10,910,101

Throw better errors.

published version 7.1.3, 5 years ago100 dependents licensed under $MIT
4,368,526

Safe Window Getters

published version 1.0.1, 3 years ago28 dependents licensed under $MIT
2,218,922

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.

published version 1.0.1, 2 months ago1 dependents licensed under $MIT
1,597,835

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

published version 3.2.1, 2 months ago38 dependents licensed under $MIT
1,181,151

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
629,908

It makes simple throw qualified errors.

published version 5.0.1, 4 months ago10 dependents licensed under $MIT
303,633

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
130,044

Assert a given object is a valid glob option

published version 1.0.0, 8 years ago2 dependents licensed under $CC0-1.0
119,327

Makes Jest throw on React prop-type failures

published version 1.1.0, 7 years ago10 dependents licensed under $MIT
79,850

putout plugin adds ability to convert throw statement into throw expression

published version 1.0.1, 5 years ago0 dependents licensed under $MIT
23,051

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

published version 1.1.1, 10 years ago7 dependents licensed under $MIT
45,082

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

published version 2.1.0, a year ago6 dependents licensed under $MIT
14,264

Like new Promise(), but prevents implicit rejection

published version 1.0.1, 10 years ago15 dependents licensed under $MIT
17,775

💣 Lints unhandled functions that might throw errors. For JavaScript/TypeScript eslint.

published version 1.5.4, 7 months ago0 dependents licensed under $MIT
12,671

Throw on console.error() & fetch

published version 0.8.0, 2 years ago0 dependents licensed under $MIT
16,542