245 packages found
Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.
Retry a promise-returning or async function
- View more
Tries to execute a function and discards any error that occurs
`Start a promise chain
Transient exception handling
Wrap `require` in a try/catch block.
Wrap regular functions & promises to make it possible to handle all 3 outcomes differently -- result, native exception, & application error.
Parse a string as JSON.
Quickly try out npm packages inside a container
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
Try to require a module or file and optionally throw an error if it doesn't exist
a webpack loader that can auto inject try catch for async function
If a function does not throw, return the function return value; otherwise, return the return value of a second function.
Wrap a function in a try/catch block.
If a function does not throw, return the function return value; otherwise, return `y`.
An asynchronous domain-based exception handler with long stack traces for node.js
babel-plugin-macro for automatic try-finally blocks and C++ like RAII resource management
- smart pointer
- View more