Search results

35 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.

published version 5.7.0, a year ago522 dependents licensed under $Artistic-2.0
24,778,409

A little retry tool to execute a function until the function is successful. Can also bind a timeout to a function. This lib is usable in typescript, in javascript, in node, in SPA tools (rest, Vue, Svelte...) and browser (available in ESM and common js fo

published version 5.0.1, 5 months ago36 dependents licensed under $MIT
129,724

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

published version 1.0.2, 6 years ago39 dependents licensed under $MIT
84,558

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
108,302

try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].

published version 2.0.2, 8 years ago7 dependents licensed under $MIT
759

A simple, type safe utility to execute a function a given number of times or until it is successful.

published version 1.0.1, a year ago0 dependents licensed under $MIT
885

A better try/catch like way to get your errors.

published version 1.1.8, 2 years ago1 dependents licensed under $MIT
309

Helper for redux-saga, auto wrap saga with try-catch, prevent one throw stop all.

published version 1.1.2, 2 years ago2 dependents licensed under $MIT
319

Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and used in higher-level libs such as [always-done][] to handle completion of anything.

published version 2.0.3, 8 years ago1 dependents licensed under $MIT
136

Don't throw utilities

published version 0.0.2, 9 months ago0 dependents licensed under $MIT
139

Functional library to try-catch code that accepts functions and promises

published version 1.9.0, 4 years ago1 dependents licensed under $MIT
129

middleware to handle errors

published version 1.0.5, 9 months ago0 dependents licensed under $ISC
29

asycnhrnous foo/map loop

published version 1.3.0, a year ago0 dependents licensed under $MIT
32

tryCatch()

published version 1.1.1, 2 years ago0 dependents licensed under $MIT
19
published version 1.5.0, 10 months ago0 dependents licensed under $MIT
17

A handy library for creating custom error constructors that work across async boundaries in Node.js.

published version 1.1.7, 6 years ago4 dependents licensed under $MIT
17

Error as value try catch wrapper

published version 3.0.0, 3 months ago0 dependents licensed under $MIT
15

Another asynchronous function chain wrapper offering both middleware and non-middleware uses

published version 1.3.0, 4 years ago2 dependents licensed under $MIT
13

safely catch errors from promises or functions, asynchronously or synchronously

published version 2.0.1, 3 years ago0 dependents licensed under $MIT
12

A utility to wrap async functions with try-catch

published version 2.3.1, 2 months ago0 dependents licensed under $MIT
12