Search results

91 packages found

function try-catch wrapper for promises

published version 3.0.1, 3 years ago75 dependents licensed under $MIT
190,789

🐊Putout plugin adds ability to apply try-catch

published version 5.0.0, 6 days ago2 dependents licensed under $MIT
34,043

Make sure to use try-catch to wrap up some dangerous actions!

published version 0.1.4, 2 years ago1 dependents licensed under $MIT
7,251

A utility module to handle async function errors gracefully.

published version 1.2.1, 19 days ago1 dependents licensed under $MIT
3,474

Standard Error Library for JavaScript/TypeScript projects (NodeJS & Browsers)

published version 2.0.2, a month ago1 dependents licensed under $MIT
925

Give your functions another chance

published version 0.1.1, 5 years ago1 dependents licensed under $MIT
1,074

Easy and flattened error handling for sync and async functions

published version 3.0.2, a year ago0 dependents licensed under $MIT
1,055

try catch wrapper for async functions

published version 0.0.2, 18 days ago0 dependents licensed under $MIT
440

Catch-first can simplify the code and handle exceptions better and more safely.

published version 0.3.2, 4 years ago2 dependents licensed under $MIT
469

Lightweight TypeScript library for type-safe errors-as-values

published version 0.2.1, 8 days ago0 dependents licensed under $MIT
381

A functional try catch for javascript and typescript

published version 1.1.0, 19 days ago0 dependents licensed under $MIT
144

setInterval with promises, counter and error handling

published version 2.1.0, 3 years ago0 dependents licensed under $MIT
177

Eliminate try-catch and make it possible to handle all 3 outcomes differently: result, native exception, & application error.

published version 4.1.0, 2 months ago4 dependents licensed under $Hippocratic-2.1
186

Wrapper for error handling without try-catch

published version 1.0.1, 3 years ago5 dependents licensed under $MIT
177

Utility function for error handling in TypeScript

published version 0.1.4, 4 months ago0 dependents licensed under $MIT
160

A set of helper functions for performing operations safely, preventing runtime errors from disrupting your application.

published version 0.1.1, a month ago0 dependents licensed under $MIT
142

Simplify error handling in JavaScript with a lightweight utility that organizes results and errors for both synchronous and asynchronous operations.

published version 0.1.1, a month ago0 dependents licensed under $MIT
129

Promise wrapper with some sugar

published version 2.4.10, 4 years ago0 dependents licensed under $MIT
146

A simple utility to handle async errors without try-catch blocks in Node.js.

published version 1.0.1, 20 days ago0 dependents licensed under $MIT
124

catch promise automatic

published version 2.2.3, 6 years ago0 dependents licensed under $ISC
138