Search results

16 packages found

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

published 1.0.1 4 months ago
M
Q
P

Simple library for retrying operations, it supports multiple backoff strategies.

published 2.0.2 2 months ago
M
Q
P

Deal with code that can throw

published 2.0.1 7 months ago
M
Q
P

An easy-to-use **async/await wrapper** to resolve any asynchronous tasks. Await-resolver always returns an array of type `[error, result]` **ensuring consistent error handling** and it provides **a timeout functionality to delay/timeout an execution**. Wi

published 2.0.0 2 months ago
M
Q
P

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

published 3.0.3 2 years ago
M
Q
P

Try to require a module or file and optionally throw an error if it doesn't exist

published 1.0.0 3 years ago
M
Q
P

Push the return value of the function to the stream, or make it emit the thrown error

published 1.1.0 9 years ago
M
Q
P

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 2.0.2 7 years ago
M
Q
P

This module is meant to be used in a runtime that uses the '::' "function-bind" operator. If you're using Babel consult the babel docs for enabling it [here](http://babeljs.io/docs/plugins/syntax-function-bind/). Make sure to enable both the `syntax` plug

published 1.0.2 8 years ago
M
Q
P

async await brought try catch to asyncrounous javascript, problem is that it is ugly and verbose. Having to write lots of try catch blocks for fine grained error handling is not so much fun, and it makes the code harder to read.

published 1.0.4 5 years ago
M
Q
P

Higher-order function that wraps any function and saves it from unwanted errors.

published 0.1.0 6 years ago
M
Q
P

tries to require a module, if it fails load another instead

published 0.1.0 7 years ago
M
Q
P

Ω eliminates try/catch boilerplate and replaces it with a two-channel [err, result] array

published 0.0.1 5 years ago
M
Q
P

just trying npm, to understand how it works.

published 1.0.0 8 years ago
M
Q
P

Does it throw an error? I don't know. YOLO.

published 0.1.0 3 years ago
M
Q
P

bimodal eliminates try/catch boilerplate and replaces it with a two-channel [err, result] array

published 0.0.1 5 years ago
M
Q
P