Search results

213 packages found

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
44,159,459

Throw a given error

published version 2.0.2, 4 years ago83 dependents licensed under $MIT
44,814,674

Throw better errors.

published version 7.1.3, 5 years ago81 dependents licensed under $MIT
21,368,669

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

published version 2.2.0, 6 years ago356 dependents licensed under $MIT
17,842,218

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

published version 2.0.2, a year ago742 dependents licensed under $MIT
10,541,126

Throw better errors.

published version 7.1.3, 5 years ago100 dependents licensed under $MIT
4,198,938

Safe Window Getters

published version 1.0.1, 3 years ago28 dependents licensed under $MIT
2,173,860

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,749,029

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,125,101

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
515,487

It makes simple throw qualified errors.

published version 5.0.1, 4 months ago10 dependents licensed under $MIT
279,288

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
118,831

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
127,875

Assert a given object is a valid glob option

published version 1.0.0, 8 years ago2 dependents licensed under $CC0-1.0
123,593

Makes Jest throw on React prop-type failures

published version 1.1.0, 7 years ago10 dependents licensed under $MIT
78,995

putout plugin adds ability to convert throw statement into throw expression

published version 1.0.1, 5 years ago0 dependents licensed under $MIT
19,945

Like new Promise(), but prevents implicit rejection

published version 1.0.1, 10 years ago15 dependents licensed under $MIT
16,237

If X, return Y, else throw Z.

published version 2.0.0, 7 years ago1 dependents licensed under $MIT
14,799

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

published version 1.5.4, 6 months ago0 dependents licensed under $MIT
14,170

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
13,097