Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
throw-expression
Allows you, through a simple function, to throw an error inside an expression
@putout/plugin-convert-throw
putout plugin adds ability to convert throw statement into throw expression
hard-rejection
Make unhandled promise rejections fail hard right away instead of the default silent fail
bail
Throw a given error
@jsdevtools/ono
Throw better errors.
loud-rejection
Make unhandled promise rejections fail loudly instead of the default silent fail
superstruct
A simple and composable way to validate data in JavaScript (and TypeScript).
@walletconnect/window-getters
Safe Window Getters
ono
Throw better errors.
graphql-sock
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.
toss-expression
A tiny ponyfill for @babel/plugin-proposal-throw-expressions, the syntax from which TypeScript and VS Code do not (yet) support.
@metamask/superstruct
A simple and composable way to validate data in JavaScript (and TypeScript).
elegant-expression
Library provides try/catch/finally as expression
breakable
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
whoops
It makes simple throw qualified errors.
outthrow
throw expression as a function
failure
Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify
expression-error
Throws an error as an expression so you can mix it with inline stuff.
assert-valid-glob-opts
Assert a given object is a valid glob option
skema
Skema provides a handy & composable way to validate / transform / purify the input data.