271 packages found
[](https://travis-ci.org/austinkelleher/tri) 
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- try-catch
- trap
- control
- View more
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- then
- try-catch
- try-then
- View more
Catch me if you can
babel-plugin-macro for automatic try-finally blocks and C++ like RAII resource management
- babel-plugin-macros
- babel-plugin-macro
- babel-plugin
- macro
- emscripten
- embind
- resources
- management
- destructor
- free
- smart-ptr
- smart pointer
- unique_ptr
- shared_ptr
- View more
Handy & Dead Simple JSON Parser
a webpack loader that can auto inject try catch for async function
Simple library for retrying operations, it supports multiple backoff strategies.
Wrap a function in a try/catch block.
If a function does not throw, return the function return value; otherwise, return `y`.
If a function does not throw, return the function return value; otherwise, return the return value of a second function.
functional promise with map filter reduce scan all race every some few try waitfor finally queue debounce throttle
Flatry converting promise or function to flat array response. Inspired by golang style error handling without try/catch.
> A simple function to validate if nested object properties exist.
JS-try is a Javascript implementation of the try method from Rails for safe navigation
Async await wrapper for easy error handling
make assertion functions into boolean tests
A package for inline asynchronous try-catch