Search results

198 packages found

Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.

published 1.0.0 10 years ago
M
Q
P

The Result and Option type from Rust ported to TypeScript.

published 2.1.8 4 years ago
M
Q
P

Utility for enforcing type-system establish invariants at runtime.

published 1.0.0 6 years ago
M
Q
P

use this domain for easier error handling for event-emitters

published 1.0.1 9 years ago
M
Q
P

A simplification of the node assert library for use with muggle

published 1.1.3 5 years ago
M
Q
P

Throw an error when the max number of EventEmitter listeners is exceeded

published 1.0.1 9 years ago
M
Q
P

Shortcut to throw an error

published 1.0.3 7 years ago
M
Q
P

Simple date parse util, throws error or returns null if date is invalid

published 1.1.0 8 years ago
M
Q
P

make assertion functions into boolean tests

published 1.0.0 11 years ago
M
Q
P

Give some meaning to throw errors

published 2.3.0 6 years ago
M
Q
P

Simple error creation utility

published 1.0.3 25 days ago
M
Q
P

[![Build Status](https://travis-ci.org/hectotruj/thrower.svg?branch=master)](https://travis-ci.org/hectotruj/thrower) [![codecov](https://codecov.io/gh/hectotruj/thrower/branch/master/graph/badge.svg)](https://codecov.io/gh/hectotruj/thrower)

published 1.6.5 5 years ago
M
Q
P

It makes simple throw qualified errors.

published 4.1.7 6 months ago
M
Q
P

Debug and detect MaxListenersExceededWarning: Possible EventEmitter memory leak detected warnings

published 0.0.1 6 years ago
M
Q
P

Throw better errors.

published 7.1.3 10 months ago
M
Q
P

throw expression as a function

published 0.2.0 7 years ago
M
Q
P

Wraps around a function and suppresses its errors.

published 1.0.0 7 years ago
M
Q
P

State machines meet Dungeons & Dragons

published 1.0.0 7 years ago
M
Q
P

Allows you, through a simple function, to throw an error inside an expression

published 2.1.0 3 months ago
M
Q
P

Rust-inspired Result object for more elegant success and failure handling

published 2.6.0 4 years ago
M
Q
P