Search results

430 packages found

`Start a promise chain

published version 3.0.0, 4 years ago1890 dependents licensed under $MIT
214,738,690

Tries to execute a function and discards any error that occurs

published version 3.0.1, 3 years ago801 dependents licensed under $MIT
59,124,455

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

published version 2.1.0, 6 years ago578 dependents licensed under $MIT
39,879,591

Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.

published version 5.7.0, a year ago523 dependents licensed under $Artistic-2.0
35,921,666

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

published version 2.2.0, 6 years ago356 dependents licensed under $MIT
15,506,924

Selective error catching and rewrite rules

published version 3.0.2, 6 months ago45 dependents licensed under $BSD-3-Clause
4,200,356

Execute a function right before the process, or the browser's tab, is about to exit.

published version 2.1.4, 3 months ago28 dependents licensed under $MIT
3,379,603

The official Elastic APM agent for Node.js

published version 4.11.2, a month ago327 dependents licensed under $BSD-2-Clause
1,865,695

return fn() or default value (in case of exception)

published version 0.1.2, 12 years ago17 dependents licensed under $MIT
835,218

An implementation of Domain-like error handling, built on async_hooks

published version 4.0.1, 2 years ago18 dependents licensed under $ISC
1,238,615

Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called

published version 5.0.0, 6 months ago89 dependents licensed under $MIT
502,884

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
456,674

function try-catch wrapper for promises

published version 3.0.1, 3 years ago75 dependents licensed under $MIT
195,726

Transient exception handling

published version 1.8.3, 3 years ago38 dependents licensed under $MIT
118,981

ES6 Promise Shim

published version 5.1.1, 7 years ago17 dependents licensed under $MIT
138,423

Async/await wrapper with error handling, retry and error override

published version 1.0.2, 6 years ago41 dependents licensed under $MIT
120,048

Basic wrapper for await that allows handling of errors without try/catch blocks

published version 1.1.2, 7 years ago2 dependents licensed under $MIT
154,511

Catch Node.js exit conditions, including errors and unhandled rejections.

published version 2.0.0, 3 months ago31 dependents licensed under $(MIT or CC0 1.0)
59,694

Read JSON files without try catch

published version 3.0.0, 2 years ago7 dependents licensed under $MIT
55,387

Read files without try catch

published version 2.1.1, 2 years ago9 dependents licensed under $MIT
54,144