Search results
363 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
`Start a promise chain
Retry a promise-returning or async function
- promise
- retry
- retries
- operation
- failed
- rejected
- try
- exponential
- backoff
- attempt
- async
- await
- promises
- concurrently
- View more
Tries to execute a function and discards any error that occurs
Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.
Library that can be used to retry functions that return promise
return fn() or default value (in case of exception)
Module to wrap try-catch for better performance and cleaner API.
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
function try-catch wrapper for promises
Retry a promise-returning or async function
- promise
- retry
- retries
- operation
- failed
- rejected
- try
- exponential
- backoff
- attempt
- async
- await
- promises
- concurrently
- View more
Transient exception handling
Basic wrapper for await that allows handling of errors without try/catch blocks
Async/await wrapper with error handling, retry and error override
Read JSON files without try catch
Read files without try catch
Wrap `require` in a try/catch block.
[](https://www.npmjs.com/package/p-safe) [](https://packagephobia.now.sh/result?p=p-safe)
An elegant try-catch replacement for JavaScript / TypeScript
A JavaScript extension package for building strong and modern applications.
- wrap
- mixin
- try
- defer
- throttle
- debounce
- queue
- channel
- worker
- parallel
- parallelism
- multithreading
- goroutine
- asyncIterator
- View more
Tries to open a file using fs.openSync (only necessary with sync), fails gracefully if the file path does not exist on the file system. Since fs.existsSync has been deprecated, this can be used as an alternative.