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.
Simple library for retrying operations, it supports multiple backoff strategies.
Deal with code that can throw
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
Eliminate try-catch and make it possible to handle all 3 outcomes differently: result, native exception, & application error.
Try to require a module or file and optionally throw an error if it doesn't exist
Push the return value of the function to the stream, or make it emit the thrown error
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][].
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
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.
Higher-order function that wraps any function and saves it from unwanted errors.
tries to require a module, if it fails load another instead
Ω eliminates try/catch boilerplate and replaces it with a two-channel [err, result] array
just trying npm, to understand how it works.
Does it throw an error? I don't know. YOLO.
bimodal eliminates try/catch boilerplate and replaces it with a two-channel [err, result] array