Search results
366 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
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][].
Handle exceptions by just annotating a method or class with a decorator. Based on enkot/catch-decorator.
Tries to execute a sync/async function, returns a result tuple
Handle exceptions by just annotating a method or class with a decorator. Based on enkot/catch-decorator.
A better try/catch like way to get your errors.
Parse a string as JSON.
Flatry converting promise or function to flat array response. Inspired by golang style error handling without try/catch.
Attempts to parse an input string as JSON5.
tryit + verror = Verbosely try.
Check if a directory exists without try catch
Errors that you can catch by type.
A simple fs wrapper that doesn't throw
Useful scala classes in typescript
Remove directories recursively or non-recursively
A 373-byte Spec-Compliant Runtime-Only Implementation of the ECMAScript Try Operator Proposal Result class
Give your functions another chance
Easy and flattened error handling for sync and async functions
really simple error handling with await/async
A better way to handle errors in JavaScript and TypeScript. Handle async and sync errors without `try` and `catch` blocks.