Search results

366 packages found

`Start a promise chain

published version 3.0.0, 4 years ago1903 dependents licensed under $MIT
259,278,244

Retry a promise-returning or async function

published version 6.2.1, 7 months ago1505 dependents licensed under $MIT
79,821,723

Tries to execute a function and discards any error that occurs

published version 3.0.1, 3 years ago798 dependents licensed under $MIT
68,859,449

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 ago524 dependents licensed under $Artistic-2.0
40,925,753

Library that can be used to retry functions that return promise

published version 3.1.0, a year ago218 dependents licensed under $MIT
941,745

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

published version 0.1.2, 12 years ago17 dependents licensed under $MIT
1,002,556

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
610,153

Module to wrap try-catch for better performance and cleaner API.

published version 1.0.3, 9 years ago27 dependents licensed under $MIT
576,033

Retry a promise-returning or async function

published version 6.2.0-2, a year ago1 dependents licensed under $MIT
419,347

function try-catch wrapper for promises

published version 3.0.1, 3 years ago76 dependents licensed under $MIT
208,624

Transient exception handling

published version 1.8.3, 3 years ago38 dependents licensed under $MIT
125,275

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
158,557

Read JSON files without try catch

published version 3.0.0, 2 years ago7 dependents licensed under $MIT
92,251

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

published version 1.0.2, 6 years ago41 dependents licensed under $MIT
137,052

Read files without try catch

published version 2.1.1, 2 years ago9 dependents licensed under $MIT
84,948

An elegant try-catch replacement for JavaScript / TypeScript

published version 1.1.1, 4 months ago2 dependents licensed under $MIT
41,539

TypeScript utilities for exception handling and errors-as-values.

published version 0.2.1, a month ago0 dependents licensed under $MIT
47,772

[![npm](https://img.shields.io/npm/v/p-safe)](https://www.npmjs.com/package/p-safe) [![npm bundle size](https://packagephobia.now.sh/badge?p=p-safe)](https://packagephobia.now.sh/result?p=p-safe)

published version 1.0.0, a year ago8 dependents licensed under $MIT
23,724

Wrap `require` in a try/catch block.

published version 0.2.2, 10 months ago328 dependents licensed under $Apache-2.0
27,078

A JavaScript extension package for building strong and modern applications.

published version 1.7.3, a month ago8 dependents licensed under $MIT
18,029