Search results

91 packages found

Better error handling in JavaScript

published version 0.0.6, 5 months ago0 dependents licensed under $MIT
19

统一为所有的异步函数添加try-catch异常捕获,在class中使用体验更佳

published version 1.0.0, 2 years ago0 dependents licensed under $Apache 2.0
13

async-try-catch-loader

published version 1.0.2, 4 years ago0 dependents licensed under $MIT
15

add try-catch clause to function block statement

published version 1.0.2, 3 years ago0 dependents licensed under $ISC
15

Result type based on Kotlin Result type

published version 1.2.0, 3 months ago0 dependents licensed under $ISC
15

Go-style error handling with try-catch wrapper

published version 1.0.0, 5 months ago0 dependents licensed under $MIT
14

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
13

Async await wrapper for easy error handling without try-catch

published version 0.0.0, 6 years ago0 dependents licensed under $MIT
12

A lightweight utility to handle promises safely, returning an error or result in a predictable format.

published version 1.0.2, 6 months ago0 dependents licensed under $MIT
11

Return result and error instead of throwing.

published version 0.0.0, 6 years ago0 dependents licensed under $MIT
10

Try as an expressions for JavaScript

published version 1.7.1, 9 months ago1 dependents licensed under $ISC
12

一个将try-catch包装成函数的库

published version 1.0.0, 3 years ago0 dependents licensed under $MIT
11

A module to make clear and succinct a redundant async/await try-catchs in using promises in node routes.

published version 1.0.0, 3 years ago0 dependents licensed under $ISC
11

Functional try-catch wrapper.

published version 1.0.1, 4 years ago0 dependents licensed under $MIT
11

A Babel macro that removes console prints in production

published version 0.0.1, 5 years ago0 dependents licensed under $ISC
9

dev handler is a package which can handle errors and to the tests at the same time and you can make consoles on and off anytime

published version 1.0.2, 3 years ago0 dependents licensed under $ISC
10

Instead of trying and catching, go ahead and fuck around if you wanna find out.

published version 1.0.1, 2 years ago0 dependents licensed under $ISC
9

A simple utility to handle promises with optional logging and error throwing.

published version 1.0.0, 2 years ago0 dependents licensed under $MIT
9

nv-cli-try-catch =============== - nv-cli-try-catch - cli tool, generate many nested-try-catch blocks

published version 1.0.3, 3 years ago0 dependents licensed under $ISC
10

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, a year ago0 dependents licensed under $ISC
8