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
45,014,524

Throw a given error

published version 2.0.2, 4 years ago83 dependents licensed under $MIT
45,751,963

Throw better errors.

published version 7.1.3, 5 years ago81 dependents licensed under $MIT
21,815,939

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,185,280

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

published version 2.0.2, a year ago741 dependents licensed under $MIT
10,719,634

Throw better errors.

published version 7.1.3, 5 years ago100 dependents licensed under $MIT
4,248,003

Safe Window Getters

published version 1.0.1, 3 years ago28 dependents licensed under $MIT
2,261,012

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,880,927

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,143,501

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
485,807

It makes simple throw qualified errors.

published version 5.0.1, 4 months ago10 dependents licensed under $MIT
280,316

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
139,691

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
126,012

Assert a given object is a valid glob option

published version 1.0.0, 8 years ago2 dependents licensed under $CC0-1.0
132,159

Makes Jest throw on React prop-type failures

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

putout plugin adds ability to convert throw statement into throw expression

published version 1.0.1, 5 years ago0 dependents licensed under $MIT
20,413

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,858

💣 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

Throw on console.error() & fetch

published version 0.8.0, 2 years ago0 dependents licensed under $MIT
15,840