JSPM

Found 193 results for reject

promiseful

Useful patterns with Promise functions

  • v0.1.3
  • 12.76
  • Published

apr-reject

The opposite of filter. Removes values that pass an async truth test.

  • v3.0.3
  • 12.22
  • Published

extra-lists.web

A collection of functions for operating upon Lists {web}.

  • v4.0.8
  • 12.06
  • Published

assert-rejected

Assert that a promise has been rejected, optionally with a message

  • v1.1.1
  • 11.86
  • Published

bauer-promise

Wrapper for bluebird with extend feature.

  • v1.1.3
  • 11.86
  • Published

@stdlib/array-base-reject

Return a shallow copy of an array containing only those elements which fail a test implemented by a predicate function.

  • v0.2.2
  • 11.54
  • Published

@stdlib/array-base-filter

Return a shallow copy of an array containing only those elements which pass a test implemented by a predicate function.

  • v0.2.2
  • 11.45
  • Published

mocha-qa

A convenience helper for testing promises using the mocha library

  • v0.9.3
  • 11.11
  • Published

@woubuc/deferred

A Promise that can be resolved externally

  • v2.0.0
  • 11.04
  • Published

async.reject

async rejectmethod as module.

  • v0.5.2
  • 10.55
  • Published

@dhlx/resolver

resolver 是一个强大的 TypeScript 工具函数,用于处理异步函数的执行结果,统一进行错误处理和结果包装,让您的异步代码更加简洁和可靠。

  • v0.0.8
  • 10.55
  • Published

public-promise

Promise that exposes resolve and reject publicly

  • v1.0.3
  • 10.17
  • Published

promise-ax

Promise Ax (Promesa) es usado para computaciones asíncronas. Una promesa representa un valor que puede estar disponible ahora, en el futuro, o nunca.

  • v2.0.54
  • 10.03
  • Published

fetch-base

A base class for fetch requests. An extendable generic base class written in TypeScript for abstracting out fetch request semantics.

  • v1.1.12
  • 9.88
  • Published

cleffa

CLI utility that parses argv and passes it into the default export of a file

  • v0.4.0
  • 9.73
  • Published

basic-deferred

Deferred in the most basic way

  • v0.0.5
  • 9.63
  • Published

deferred-bounce

Deferred call reject function by timeout if resolve function was not called.

  • v0.0.6
  • 9.27
  • Published

error-ninja

A handy library for creating custom error constructors that work across async boundaries in Node.js.

  • v1.1.7
  • 9.27
  • Published

basic-promise

Module promise with a simple syntax

  • v0.1.1
  • 9.00
  • Published

@safs.io/match

Gale/Shapely deferred acceptance algorithm

  • v1.0.5
  • 8.85
  • Published

log-reject-error

Dead Simple unhandledRejection handler

  • v0.0.2
  • 8.68
  • Published

@bitty/deferred

It provides a function to create Deferred objects. They contains a Promise and methods to imperatively resolve or reject it.

  • v0.2.0
  • 8.59
  • Published

occaecatiratione

Create actions that return promises, which are resolved or rejected by a redux saga

  • v1.4.1
  • 8.16
  • Published

underwriter

An automated Promise Registry

  • v1.0.1-2
  • 8.02
  • Published

@f0x52/bluebird-events

A wrapper around event emitters that returns a bluerbird promise resolved or rejected when certain events are fired.

  • v3.0.2
  • 7.87
  • Published

@stdlib/iter-reject

Create an iterator which rejects the values of another iterator according to a predicate function.

  • v0.2.2
  • 7.72
  • Published

inline-promise

For those of us tired of nesting stuff because of promises.

  • v1.5.0
  • 7.25
  • Published

rejections

Promise rejections helpers

  • v1.1.0
  • 7.23
  • Published

forger

Async utilities and helpers for node

  • v1.4.0
  • 7.23
  • Published

teth-pipe

Minimal, functional, monadic, promise-compatible streaming framework with backpressure.

  • v1.0.9
  • 6.74
  • Published

@stdlib/iter-filter

Create an iterator which filters the values of another iterator according to a predicate function.

  • v0.2.2
  • 6.74
  • Published

p-some-first

Returns the first Promise in an iterable to resolve

  • v1.1.0
  • 6.34
  • Published

hkey-extended-promise

Extended Promise with resolve(), reject(), abort() methods, timeout, and much more

  • v0.0.3
  • 6.27
  • Published

till-event

Node.js events to promises

  • v0.0.4
  • 6.27
  • Published

piperify

async pipeline and promise utility

  • v0.0.0
  • 5.48
  • Published

getpayload

Unify responses and errors payloads for `fetch` requests

  • v0.0.1
  • 5.48
  • Published

husk-reject

Reject chunks using a function.

  • v1.0.2
  • 5.39
  • Published

resilience

Resiliency patterns for JavaScript

  • v1.0.2
  • 5.29
  • Published

do-then

Realise sync or async tasks as promises, resolve to do the next step or reject and catch an error.

  • v1.0.1
  • 5.23
  • Published

lag.reject

The lag function reject() as a standalone module.

  • v0.1.0
  • 5.20
  • Published

funny-reject

Simple modules for functional programming, done for fun.

  • v1.0.3
  • 4.25
  • Published

promise-fiber

A promise fiber (PromiseFiber) that give the triple (promise, resolve, reject) simply! And allow flexibility! And a more useful PromiseFibersClusterer! That allow promise stacking under an event or cluster name! And in multi place awaiting!

  • v1.1.0
  • 4.15
  • Published

oathjs

A promise utility library

  • v0.1.2
  • 4.15
  • Published

http-reject-empty

A function to reject empty values with an http exception

  • v1.0.0
  • 4.08
  • Published

a-defer

Create a deferred promise

    • v0.1.1
    • 4.01
    • Published

    squab

    a basic Promise library

    • v0.0.2
    • 4.01
    • Published

    reject-empty

    Omit empty values of an array|object

    • v1.0.1
    • 4.01
    • Published

    reject-flow

    Stream transform implementation that rejects by functions.

    • v1.0.3
    • 4.00
    • Published

    react-redux-transaction

    React helpers for redux-transaction, e.g. load model on props change and automatically cancel on unmount

    • v0.0.9
    • 4.00
    • Published

    http-ok

    A simple promise based http client which rejects the promise when the status ode is not 200 - OK

    • v1.0.4
    • 4.00
    • Published

    trace-collect

    Frontend user operations, error collection and reporting (前端用户操作、错误收集上报)

    • v1.0.1
    • 4.00
    • Published

    should-reject

    Return a promise which is resolved when the original promise is rejected, and rejected when the original promise is resolved

    • v1.1.0
    • 3.93
    • Published

    await-resolver

    An easy-to-use **async/await wrapper** to resolve any asynchronous tasks. Await-resolver always returns an array of type `[error, result]` **ensuring consistent error handling** and it provides **a timeout functionality to delay/timeout an execution**. Wi

    • v2.0.2
    • 3.93
    • Published

    managed-promise

    A Promise that can be resolved/rejecter at will

    • v1.0.0
    • 2.50
    • Published

    res-rej-types

    Type definitions for Promise resolve/reject callbacks

    • v0.1.1
    • 2.50
    • Published

    async-attempt

    Intuitive way of using aysnc-await

    • v0.0.3
    • 2.50
    • Published

    p-allay

    Allay expected promise rejections: Resolve with your failure value instead.

    • v0.1.0
    • 2.50
    • Published

    forgot-await

    Checks if you forgot `await` before async function call

    • v0.0.4
    • 2.49
    • Published

    eq-timeout

    timeout lib

    • v1.0.11
    • 2.49
    • Published

    negate-promise

    Negate a promise, reject resolved promise, resolve rejected promise

    • v1.0.0
    • 2.43
    • Published

    dual-api

    Make your module implement dual APIs, callback API and thenable (Promise) API.

    • v0.0.3
    • 2.35
    • Published

    @stdlib/iter-filter-map

    Create an iterator which both filters and maps the values of another iterator.

    • v0.2.2
    • 2.31
    • Published

    @gradecam/delay

    Delay specified amount of time then resolve/reject promise.

    • v1.0.1
    • 2.31
    • Published

    promiseout

    reject the promise if timeout is broken

    • v0.0.3
    • 2.31
    • Published

    promise-unmap

    Await until all promises resolve and reject

    • v0.2.5
    • 2.31
    • Published

    redux-transaction

    Optimistically apply actions, then rollback when they fail

    • v0.0.5
    • 2.30
    • Published

    @ramda/reject

    R.reject exported as a module

      • v0.26.1
      • 0.00
      • Published

      chuckie

      Framework for writing functional tests with mocha and puppeteer

      • v1.1.0
      • 0.00
      • Published

      @jreusch/p-destruct

      Destructure a promise, gaining direct access to its internal state

      • v1.0.0
      • 0.00
      • Published