32 packages found
Description
Error handler for fetch responses, e.g. Cloudflare Workers.
Keywords
Publisher
Description
Safe version of require that returns undefined rather than throwing an error when the module is not found.
Keywords
Publisher
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
Description
Divhide javascript core components for NodeJs, Browser, Titanium, ... and everything that runs javascript.
Keywords
Publisher
Description
A simple fs wrapper that doesn't throw
Keywords
Publisher
Description
a safe error handler inspired by golang approach
Keywords
Publisher
Description
A JSON validator and safe fallback utility for those rare times you can't trust your config.
Keywords
Publisher
Description
Wrap regular functions & promises to make it possible to handle all 3 outcomes differently -- result, native exception, & application error.
Keywords
Publisher
Description
Safe, simple, configurable JSON.stringify
Keywords
Publisher
Description
Copy data from an object in a safe way
Keywords
Publisher
Description
Exception safe functions and promises by converting thrown errors to values
Keywords
Publisher
Description
JS Object manipulation with dot path and some magical helpers
Keywords
Publisher
Description
safely execute multiple async callables as a unit of work then invoke callback with error/results.
Keywords
Publisher
Description
Wraps a function in a try/catch block.
Keywords
Publisher
Description
Extends jQuery with adding methods like ._val(), ._text(),etc.. They is based on default methods, but have errorCallback, which will be calling when something is wrong - like as an element is missing. It's an easy way to have debugging and provide a safe
Keywords
Publisher
Description
Create a `Readable` stream that swithes to the fallback on error
Keywords
Publisher
Description
Curried function that calls `JSON.parse` on provided input returning either the parsed JSON or the specified default value if the data fails to parse as valid JSON instead of throwing a `SyntaxError`.
Keywords
- JSON
- JSON.parse
- catch
- curried
- functional
- higher-order
- json
- json-parse
- parse
- parse json
- parser
- point-free
- pointfree
- safe
- View more
Publisher
Description
Drop-in `action` replacement for MobX that can handle errors before throwing.
Keywords
Publisher
Description
A lightweight, extensible set of tools for applying limitations to runtime values
Keywords
Publisher
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.