npm

27 packages found

M
Q
P

Description

a safe error handler inspired by golang approach

Keywords

Publisher

published 1.0.2a year ago
M
Q
P

Description

Wraps a function in a try/catch block.

Keywords

Publisher

published 1.0.04 years ago
M
Q
P

Description

Safe version of require that returns undefined rather than throwing an error when the module is not found.

Keywords

Publisher

published 1.0.33 years ago
M
Q
P

Description

Assures asynchronous functions always call the callback instead of throwing errors

Keywords

Publisher

published 1.0.03 years ago
M
Q
P

Description

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.

Keywords

Publisher

published 2.0.33 years ago
M
Q
P

Description

Copy data from an object in a safe way

Keywords

Publisher

published 1.0.05 years ago
M
Q
P

Description

Exception safe functions and promises by converting thrown errors to values

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Safe, simple, configurable JSON.stringify

Keywords

Publisher

published 0.0.323 days ago
M
Q
P

Description

A small safe accessor that uses reduce to prevent 'Cannot read property of undefined' errors

Keywords

Publisher

published 1.0.63 years ago
M
Q
P

Description

Safe, simple, configurable JSON.stringify logging

Keywords

Publisher

published 0.0.223 days ago
M
Q
P

Description

Starting from version 0.4.0 safejs implements almost all functions of [Async](https://github.com/caolan/async) and can transparently replace it. For asyncjs functions library adds its error trap capabilities and also contain some optimizations and speed i

Keywords

Publisher

published 0.4.62 years ago
M
Q
P

Description

Safely set value at property, create intermediate properties if necessary

Keywords

Publisher

published 0.1.03 years ago
M
Q
P

Description

A JSON validator and safe fallback utility for those rare times you can't trust your config.

Keywords

Publisher

published 1.0.12 months ago
M
Q
P

Description

Safe property reference chaining without errors

Keywords

Publisher

published 2.0.12 years ago
M
Q
P

Description

Require files providing not found, error and success callbacks.

Keywords

Publisher

published 1.1.03 years ago
M
Q
P

Description

safely execute multiple async callables as a unit of work then invoke callback with error/results.

Keywords

Publisher

published 1.0.13 years ago
M
Q
P

Description

Divhide javascript core components for NodeJs, Browser, Titanium, ... and everything that runs javascript.

Keywords

Publisher

published 2.0.14 years ago
M
Q
P

Description

Create a `Readable` stream that swithes to the fallback on error

Keywords

Publisher

published 2.0.0-16 months ago
M
Q
P

Description

Wrapper for async functions to always catch errors as first parameter of callback

Keywords

Publisher

published 0.0.24 years ago
M
Q
P

Description

JS Object manipulation with dot path and some magical helpers

Keywords

Publisher

published 0.2.0a year ago