Search results

80 packages found

🐊Putout plugin adds ability to apply try-catch

published version 4.0.0, 3 months ago

Maintenance: 33%. Quality: 61%. Popularity: 5%.

A better way to handle errors

published version 6.0.0, 3 months ago

Maintenance: 33%. Quality: 64%. Popularity: 2%.

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

published version 4.0.5, 2 months ago

Maintenance: 33%. Quality: 54%. Popularity: 3%.

Easy type-safe error handling without try-catch

published version 2.0.0, 3 months ago

Maintenance: 33%. Quality: 54%. Popularity: 1%.

Minimalist, strongly-typed result pattern for TypeScript

published version 2.0.2, 3 months ago

Maintenance: 33%. Quality: 54%. Popularity: 1%.

Enhance your Express.js applications with our Exception Handler package, a robust middleware solution for effective error management. Seamlessly handle various error types, from validation errors to server crashes, ensuring graceful responses to clients.

published version 1.1.2, 2 months ago

Maintenance: 33%. Quality: 51%. Popularity: 2%.

Try as an expressions for JavaScript

published version 1.7.1, 5 months ago

Maintenance: 33%. Quality: 52%. Popularity: 2%.

Try handler is a powerful utility that wraps try-catch blocks in a function, allowing you to handle errors in a more elegant way, without the need to write try-catch blocks in your code.

published version 0.0.5, 3 months ago

Maintenance: 33%. Quality: 52%. Popularity: 0%.

If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.

published version 0.2.2, 4 months ago

Maintenance: 33%. Quality: 51%. Popularity: 2%.

If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.

published version 0.2.2, 4 months ago

Maintenance: 33%. Quality: 51%. Popularity: 2%.

Functional try-catch wrapper

published version 2.2.2, 2 months ago

Maintenance: 33%. Quality: 52%. Popularity: 0%.

Control flow as an expressions for JavaScript

published version 1.7.1, 5 months ago

Maintenance: 33%. Quality: 52%. Popularity: 0%.

一个webpack loader,为异步操作自动添加try-catch语句

published version 1.0.8, 4 months ago

Maintenance: 33%. Quality: 52%. Popularity: 0%.

A utility package for your repetitive try catch with a proper standard logging format with both async and normal function compatible.

published version 0.0.1, 6 months ago

Maintenance: 33%. Quality: 52%. Popularity: 0%.

just a try-catch block

published version 1.0.1, a month ago

Maintenance: 33%. Quality: 51%. Popularity: 1%.

Easy and flattened error handling for sync and async functions

published version 3.0.2, 8 months ago

Maintenance: 29%. Quality: 54%. Popularity: 2%.

If a function does not throw, return the function return value; otherwise, return the return value of a second function.

published version 0.2.2, 4 months ago

Maintenance: 33%. Quality: 51%. Popularity: 0%.

If a function does not throw, return the function return value; otherwise, return `y`.

published version 0.2.2, 4 months ago

Maintenance: 33%. Quality: 51%. Popularity: 0%.

Rust-like Result and ResultAsync for Javascript

published version 0.6.0, 11 days ago

Maintenance: 33%. Quality: 46%. Popularity: 2%.

An alternative library for try-catch blocks, helps reduce the code and make it cleaner and more readable using anonymous functions.

published version 1.0.1, 10 months ago

Maintenance: 28%. Quality: 54%. Popularity: 0%.