JSPM

Found 193 results for reject

empty-promise

externally exposed resolve/reject api for native promises

  • v1.2.0
  • 15.95
  • Published

await-deadline

Helper tool that makes sure we get a response from the promise within the defined timeframe

  • v1.0.3
  • 15.88
  • Published

jasmine-spy

Helper that works as a shortcut to create jasmine spies that return values or promises

  • v0.0.2
  • 15.80
  • Published

extra-entries

A collection of functions for operating upon Entries.

  • v3.2.2
  • 14.96
  • Published

dpa

Resolves promises concurrently with deterministic rejection order. Somewhere between Promise.all and Promise.allSettled.

  • v2.0.0
  • 14.84
  • Published

coworkers-errors

Errors and errorHandler useful for "coworkers" applications

  • v0.2.4
  • 14.10
  • Published

promise-all-settled-by-key

[![Build Status](https://travis-ci.org/Dobby89/promise-all-settled-by-key.svg)](https://travis-ci.org/Dobby89/promise-all-settled-by-key) [![Total Downloads](https://img.shields.io/npm/dt/promise-all-settled-by-key.svg)](https://www.npmjs.com/package/pro

  • v1.0.3
  • 14.06
  • Published

@s5rw/accesscontrol

Role and Attribute based Access Control for Node.js

  • v2.3.0
  • 13.78
  • Published

giffy-break

Watch random gifs in a browser while your promise is resolving

  • v0.4.2
  • 12.94
  • Published

cp-koa

enhanced Koa version with cancelable middlewares support

  • v0.2.1
  • 12.83
  • Published

wise-fetch

Feature-rich node-fetch

  • v0.4.0-1
  • 12.75
  • Published

promiseful

Useful patterns with Promise functions

  • v0.1.3
  • 12.75
  • Published

apr-reject

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

  • v3.0.3
  • 12.20
  • Published

extra-lists.web

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

  • v4.0.8
  • 12.10
  • Published

assert-rejected

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

  • v1.1.1
  • 11.81
  • Published

bauer-promise

Wrapper for bluebird with extend feature.

  • v1.1.3
  • 11.81
  • 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.46
  • 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.41
  • Published

mocha-qa

A convenience helper for testing promises using the mocha library

  • v0.9.3
  • 11.09
  • Published

@woubuc/deferred

A Promise that can be resolved externally

  • v2.0.0
  • 11.02
  • Published

async.reject

async rejectmethod as module.

  • v0.5.2
  • 10.51
  • Published

@dhlx/resolver

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

  • v0.0.8
  • 10.51
  • Published

public-promise

Promise that exposes resolve and reject publicly

  • v1.0.3
  • 10.15
  • 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.00
  • 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.87
  • Published

cleffa

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

  • v0.4.0
  • 9.72
  • Published

basic-deferred

Deferred in the most basic way

  • v0.0.5
  • 9.66
  • Published

deferred-bounce

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

  • v0.0.6
  • 9.21
  • Published

error-ninja

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

  • v1.1.7
  • 9.21
  • Published

basic-promise

Module promise with a simple syntax

  • v0.1.1
  • 9.03
  • Published

@safs.io/match

Gale/Shapely deferred acceptance algorithm

  • v1.0.5
  • 8.82
  • Published

log-reject-error

Dead Simple unhandledRejection handler

  • v0.0.2
  • 8.66
  • 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.57
  • Published

occaecatiratione

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

  • v1.4.1
  • 8.13
  • Published

underwriter

An automated Promise Registry

  • v1.0.1-2
  • 7.97
  • 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.85
  • Published

@stdlib/iter-reject

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

  • v0.2.2
  • 7.67
  • Published

rejections

Promise rejections helpers

  • v1.1.0
  • 7.22
  • Published

forger

Async utilities and helpers for node

  • v1.4.0
  • 7.22
  • Published

inline-promise

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

  • v1.5.0
  • 7.20
  • Published

teth-pipe

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

  • v1.0.9
  • 6.73
  • Published

@stdlib/iter-filter

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

  • v0.2.2
  • 6.73
  • Published

p-some-first

Returns the first Promise in an iterable to resolve

  • v1.1.0
  • 6.33
  • Published

hkey-extended-promise

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

  • v0.0.3
  • 6.26
  • Published

till-event

Node.js events to promises

  • v0.0.4
  • 6.26
  • Published

piperify

async pipeline and promise utility

  • v0.0.0
  • 5.50
  • Published

getpayload

Unify responses and errors payloads for `fetch` requests

  • v0.0.1
  • 5.50
  • Published

husk-reject

Reject chunks using a function.

  • v1.0.2
  • 5.37
  • Published

resilience

Resiliency patterns for JavaScript

  • v1.0.2
  • 5.28
  • 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.22
  • Published

lag.reject

The lag function reject() as a standalone module.

  • v0.1.0
  • 5.19
  • 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.16
  • Published

oathjs

A promise utility library

  • v0.1.2
  • 4.16
  • Published

http-reject-empty

A function to reject empty values with an http exception

  • v1.0.0
  • 4.06
  • Published

reject-flow

Stream transform implementation that rejects by functions.

  • v1.0.3
  • 3.99
  • Published

react-redux-transaction

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

  • v0.0.9
  • 3.99
  • Published

http-ok

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

  • v1.0.4
  • 3.99
  • Published

trace-collect

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

  • v1.0.1
  • 3.99
  • Published

a-defer

Create a deferred promise

    • v0.1.1
    • 3.98
    • Published

    squab

    a basic Promise library

    • v0.0.2
    • 3.98
    • Published

    reject-empty

    Omit empty values of an array|object

    • v1.0.1
    • 3.98
    • 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

    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

    managed-promise

    A Promise that can be resolved/rejecter at will

    • v1.0.0
    • 2.48
    • Published

    res-rej-types

    Type definitions for Promise resolve/reject callbacks

    • v0.1.1
    • 2.48
    • Published

    async-attempt

    Intuitive way of using aysnc-await

    • v0.0.3
    • 2.48
    • Published

    p-allay

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

    • v0.1.0
    • 2.48
    • 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.33
    • 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