Search results
327 packages found
Handle exceptions by just annotating a method or class with a decorator. Based on enkot/catch-decorator.
Simplification of try/catch exception handling.
run the JavaScript code in the try{}catch(){} block
A lightweight library for profanity words filter, auto generate unique alphanumeric id as incremental sequentially, etc..
- easy
- try
- profanity
- bad
- words
- filter
- basic
- multi
- language
- auto
- generate
- alphanumeric
- increment
- sequentially
- View more
babel plugin for funtion to use try/catch
safely catch errors from promises or functions, asynchronously or synchronously
A JavaScript library intended for lightweight and controlled error handling.
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.
Try to execute a function, return default value if failed
Function that returns a boolean indicating whether an exception was thrown or not
a simple utility function for inline try-catch-statements
Retry when promise fails.
A simple fs wrapper that doesn't throw
Read markdown files as a Marked token list or string
Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and used in higher-level libs such as [always-done][] to handle completion of anything.
Babel plugin helps enhance the content of catch expression.
Better error handling in TypeScript.
return fn() or default value (in case of exception)