JSPM

Found 150 results for err

@hazae41/result

Rust-like Result for TypeScript

  • v1.3.3
  • 34.69
  • Published

err-handler

Avoid if(err)return bla bla bla

  • v1.0.5
  • 32.81
  • Published

new-error

A production-grade error creation and serialization library designed for Typescript

  • v2.2.0
  • 32.43
  • Published

okej

A bare-metal Result type for Javascript/TypeScript

  • v0.0.13
  • 32.03
  • Published

havildar

A Error middleware for express

  • v1.0.2
  • 31.93
  • Published

trynot

Rust-like results in TypeScript

  • v0.0.2
  • 31.48
  • Published

@ravdocs/assert

Wrapper around the assert module

  • v1.0.16
  • 31.25
  • Published

notify-error

send an error notifications

  • v1.2.0
  • 31.05
  • Published

ignore-errors

Easily ignore specific promise errors

  • v3.0.1
  • 29.77
  • Published

bugsplat

error reporting for js

  • v8.0.1
  • 27.82
  • Published

async-err

An easy way to make an error in Node.js async, when it would sync otherwise.

  • v0.0.3
  • 25.66
  • Published

@hazae41/kdbx

Rust-like KeePass (KDBX 4) file format for TypeScript

  • v0.1.6
  • 24.84
  • Published

skiperr

A less-instrusive way of passing errors along in JavaScript / NodeJS.

  • v0.0.3
  • 24.19
  • Published

@hazae41/apdu

Rust-like APDU protocol for TypeScript

  • v1.0.2
  • 22.36
  • Published

@stdlib/stats-incr-mmape

Compute a moving mean absolute percentage error (MAPE) incrementally.

  • v0.2.2
  • 22.10
  • Published

@stdlib/stats-incr-maape

Compute the mean arctangent absolute percentage error (MAAPE) incrementally.

  • v0.2.2
  • 21.67
  • Published

@stdlib/stats-incr-mmaape

Compute a moving arctangent mean absolute percentage error (MAAPE) incrementally.

  • v0.2.2
  • 21.65
  • Published

assert-kindof

Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].

  • v2.0.1
  • 21.51
  • Published

err-cause

Set Error cause

  • v1.1.2
  • 19.55
  • Published

letta

Promisify sync, async or generator function, using [relike][]. Kind of promisify, but lower level. Full compatibility with [co][]4 and passing 100% of its tests.

  • v0.5.2
  • 19.04
  • Published

kind-of-extra

Additional functionality to [kind-of][] type check utility. Support promises, generators, streams, errors.

  • v1.0.4
  • 18.44
  • Published

error-extractor

Extract error message from an object using known error properties.

    • v1.0.1
    • 17.49
    • Published

    @stdlib/error-tools-id2msg

    Return an error message corresponding to a provided two-character error identifier.

    • v0.2.2
    • 16.76
    • Published

    expected

    Simple error message formatting.

    • v0.1.0
    • 14.88
    • Published

    exception

    Generate heap dumps and detailed output for uncaught exceptions and critical errors

    • v1.0.9
    • 13.36
    • Published

    @hazae41/latrine

    Secure and private reimplementation of the WalletConnect protocol

    • v1.1.4
    • 13.08
    • Published

    d.jserror

    A simple module to make showing users an error easier

    • v1.0.10
    • 12.30
    • Published

    resulta

    resulta is a TypeScript utility for handling results in an expressive way, inspired by Rust's Result type.

    • v1.1.1
    • 11.90
    • Published

    thrown

    Generic Error Handler

    • v0.9.0
    • 11.79
    • Published

    errnext

    Generic middleware based on (err, next, ...args) pattern.

    • v1.0.1
    • 11.72
    • Published

    errorie

    Custom JavaScript errors

    • v1.0.0
    • 11.67
    • Published

    errly

    Better error handling in TypeScript.

    • v0.0.2
    • 11.35
    • Published

    nexterr

    Generic middleware based on (next, err, ...args) pattern.

    • v1.0.0
    • 11.22
    • Published

    @sullux/fp-light-trap

    A lightweight functional library for functional composition and object composition.

    • v0.0.1
    • 10.95
    • Published

    callback-handler

    This is a utility package to handle errors and unwanted results automatically. It is used to improve readability of code and simplify working with callbacks.

    • v0.1.3
    • 10.86
    • Published

    code-err

    create error instances with a code (and props)

    • v3.1.0
    • 10.74
    • Published

    base-plugins-enhanced

    Error handling and extras for `.use` and `.run` methods of your Base apps. Modifies `.use` method to be able to 1) accept array of functions, 2) options object as second argument. Emits `error` event if some plugin fails.

    • v0.1.2
    • 10.52
    • Published

    http-staror

    Makes easy to use HTTP status and errors.

    • v1.0.7
    • 10.33
    • Published

    to-callback

    Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.

    • v1.0.1
    • 9.84
    • Published

    error-shortener

    generates a string containing a message and trimmed stack from error

    • v1.0.2
    • 9.34
    • Published

    error-format

    Allows you to customize the toString method of passed `err`. Also adds useful properties like `line`, `filename` and `column` to the `err` object.

    • v1.0.1
    • 8.73
    • Published

    taperr

    tape error events for t.fail(msg)

    • v0.1.1
    • 8.32
    • Published

    binford-err

    Not so strongly typed error

    • v0.0.1
    • 8.04
    • Published

    @ghaerdi/rustify

    A TypeScript library implementing Rust-like error handling with Result, Ok, and Err types.

    • v1.2.0
    • 7.73
    • Published

    httpstatusview

    Displays http status in browser, good for error handling.

    • v1.0.2
    • 7.51
    • Published

    custom-err

    Easily create an error with custom properties attached.

    • v0.0.2
    • 7.41
    • Published

    errd

    Collection of error handling utilities for JavaScript and TypeScript.

    • v1.0.0
    • 7.27
    • Published

    @scottnonnenberg/notate

    Extra err.stack entries for debuggability. Better than your plain 'if (err) { return cb(err) }'

    • v1.0.0
    • 7.27
    • Published

    jm-err

    common error defines as JSON format

    • v1.0.8
    • 6.78
    • Published

    catchup

    Graceful error handling. Because core `domain` module is deprecated. This share almost the same API.

    • v1.0.0
    • 6.72
    • Published

    if-err

    get rid of `if (err) throw err`

    • v0.3.0
    • 6.66
    • Published

    perr

    Portable errors for Javascript

    • v0.1.1
    • 6.59
    • Published

    ercb

    For those who don't like the node (er, result) convention

    • v1.0.0
    • 6.50
    • Published

    @gotoeasy/err

    一个用于node环境的Error子类,提供更丰富的构造参数接口,更友好的code-frame提示,消息拼接等功能,详见Sample截图

    • v0.4.1
    • 6.50
    • Published

    throwandtell

    ThrowAndTell Error Reporter Client for Node.js

      • v0.1.0
      • 5.49
      • Published

      err-loggr

      This is a small lib to help create and manage log files

        • v1.2.0
        • 5.49
        • Published

        eros

        A lightweight set of error utilities for node.js

        • v0.0.1
        • 4.24
        • Published

        gh-logger

        This module logs errors that you give it to log.

        • v1.0.1
        • 4.16
        • Published

        inl-error

        test err handler

        • v1.0.9
        • 4.16
        • Published

        flawless

        A callback factory which splits away handling errors into a separate flow and thus requiring less boilerplate code.

        • v0.1.1
        • 4.10
        • Published

        jsonerr

        Function to get JSON friendly object from error (Node/V8 only).

        • v1.1.0
        • 4.10
        • Published

        on-err

        A callback wrapper library that reduces the number of checks needed to propagate errors up the callback chain

        • v0.0.1
        • 4.02
        • Published

        errfly

        handle callback err with node style

        • v0.0.1
        • 2.35
        • Published

        verror-2

        verror that also works for browsers and react-native

        • v1.0.0
        • 0.00
        • Published

        errlogging

        a javascript library to log errors

        • v1.0.0
        • 0.00
        • Published

        oker

        A version of Rust's result type in Typescript, which can be Ok or Err (oker)

        • v0.1.0
        • 0.00
        • Published

        forcereq

        Require module but with error handeling

          • v1.0.0
          • 0.00
          • Published

          itmao-rescc

          提供了响应错误信息的中间件

            • v1.0.1
            • 0.00
            • Published