Search results

371 packages found

function try-catch wrapper for promises

published version 3.0.1, 3 years ago76 dependents licensed under $MIT
258,520

Module to wrap try-catch for better performance and cleaner API.

published version 1.0.3, 9 years ago27 dependents licensed under $MIT
1,486,329

Read files without try catch

published version 2.1.1, 2 years ago11 dependents licensed under $MIT
96,403

Read JSON files without try catch

published version 3.0.0, 2 years ago7 dependents licensed under $MIT
112,018

Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.

published version 5.7.0, 2 years ago443 dependents licensed under $Artistic-2.0
51,200,582

Remove files without try catch

published version 3.0.0, 2 years ago2 dependents licensed under $MIT
28,639

An elegant try-catch replacement for JavaScript / TypeScript

published version 1.1.2, a month ago2 dependents licensed under $MIT
46,968

Basic wrapper for await that allows handling of errors without try/catch blocks

published version 1.1.2, 7 years ago2 dependents licensed under $MIT
149,646

Wrap `require` in a try/catch block.

published version 0.2.2, a year ago325 dependents licensed under $Apache-2.0
19,245

Check if a file exists without try catch

published version 2.0.0, 2 years ago1 dependents licensed under $MIT
28,624

Make sure to use try-catch to wrap up some dangerous actions!

published version 0.1.4, 2 years ago1 dependents licensed under $MIT
6,157

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][].

published version 2.0.2, 8 years ago7 dependents licensed under $MIT
1,456

Functional try-catch

published version 0.0.2, 9 years ago3 dependents licensed under $BSD
3,205

Clean up code by removing try-catch-finally blocks.

published version 4.0.0, a year ago8 dependents licensed under $MIT
8,587

Handle exceptions by just annotating a method or class with a decorator. Based on enkot/catch-decorator.

published version 1.0.1, 5 years ago0 dependents licensed under $MIT
1,232

Handle exceptions by just annotating a method or class with a decorator. Based on enkot/catch-decorator.

published version 1.0.5, 2 years ago0 dependents licensed under $MIT
1,334

Errors that you can catch by type.

published version 10.1.0, 5 years ago22 dependents licensed under $MIT
1,486

Wraps JSON#parse in a try/catch block.

published version 1.0.0, 10 years ago19 dependents licensed under $MIT
2,028

Async try-catch like interface for Node.js.

published version 1.1.11, 5 months ago2 dependents licensed under $MIT
1,089

Check if a directory exists without try catch

published version 1.1.0, 4 years ago2 dependents licensed under $MIT
1,140