JSPM

Found 193 results for reject

p-defer

Create a deferred promise

  • v4.0.1
  • 95.11
  • Published

@open-draft/deferred-promise

A Promise-compatible abstraction that defers resolving/rejecting promises to another closure.

  • v2.2.0
  • 93.24
  • Published

lodash.reject

The lodash method `_.reject` exported as a module.

  • v4.6.0
  • 87.32
  • Published

@redux-saga/deferred

Helper for creating "exposed" promise object (with resolve & reject methods).

  • v1.2.1
  • 84.69
  • Published

p-reflect

Make a promise always fulfill with its actual fulfillment value or rejection reason

  • v3.1.0
  • 80.69
  • Published

p-settle

Settle promises concurrently and get their fulfillment value or rejection reason

  • v5.1.1
  • 80.32
  • Published

async-wait-until

Waits until the given predicate function returns a truthy value, then resolves

  • v2.0.30
  • 73.98
  • Published

promise-deferred

A lightweight Deferred implementation, on top of Promises/A+

  • v2.0.4
  • 71.52
  • Published

accesscontrol

Role and Attribute based Access Control for Node.js

  • v2.2.1
  • 67.11
  • Published

promish

ES6 Promise Shim

  • v5.1.1
  • 65.64
  • Published

settle-promise

Like `Promise.all`, but when all `Promise`s are settled.

  • v1.0.0
  • 60.78
  • Published

promised-timeout

For limiting the time to resolve a promise.

  • v0.5.1
  • 57.59
  • Published

move-on

Creates a queue of sync or async functions with resolve and reject callback.

  • v2.1.9
  • 56.67
  • Published

@suchipi/defer

Inside-out promise; lets you call resolve and reject from outside the Promise constructor function.

  • v1.0.0
  • 54.70
  • Published

clefairy

Typed CLI argv parser and main function wrapper

  • v2.1.0
  • 53.12
  • Published

extra-array

An array is a collection of values, stored contiguously.

  • v4.3.3
  • 48.91
  • Published

arrayfilter

Array filtering utility.

  • v1.1.2
  • 48.81
  • Published

thenable-reject

It's like `Promise.reject` except it doesn't bother you with `unhandled Promise rejection` error in case you need to postpone a bit handling that rejection.

  • v1.0.0
  • 46.54
  • Published

@buzuli/unhandled

Manage un-handled rejections or un-caught exceptions

  • v2.1.1
  • 46.38
  • Published

afterward

Execute an error-first callback upon resolution or rejection of a promise (and return the promise)

  • v2.1.0
  • 46.28
  • Published

smqp

Synchronous message queueing package

  • v10.0.1
  • 44.81
  • Published

reject-unsatisfied-npm-version

Make a Promise rejection unless the currently installed npm CLI satisfies the required version

  • v1.0.0
  • 43.91
  • Published

redux-thunk-error-handler

An error handler for thunks that, when used in conjunction with `redux-thunk-recursion-detect` can handle errors thrown in both async and sync thunks gracefully.

  • v1.1.4
  • 43.76
  • Published

extra-iterable

An iterable is a sequence of values.

  • v3.3.2
  • 43.46
  • Published

@adobe/redux-saga-promise

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

  • v1.1.1
  • 43.25
  • Published

p-catch-if

Conditional promise catch handler

  • v3.0.0
  • 41.65
  • Published

erotic

Capture error stacks in asynchronous functions at the point of call.

  • v2.1.1
  • 41.25
  • Published

do-try-tuple

Catches errors and rejected promises, returns tuple

  • v3.0.0
  • 38.86
  • Published

cachify-promise

Smart caching for promises. Like memoization, but better.

  • v0.4.1
  • 38.37
  • Published

bluebird-events

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

  • v3.0.1
  • 36.63
  • Published

p-signal

Better way to cancel promises using AbortSignal

  • v5.0.0
  • 36.14
  • Published

extra-set

A pack of functions for working with Sets.

  • v3.2.2
  • 35.61
  • Published

c-promise2

Cancelable promise with progress capturing, pause, timeouts, signals, data flows and decorators support

  • v0.13.12
  • 33.85
  • Published

Promise.js

promise similar es6 promise as the same api

  • v1.0.1
  • 30.96
  • Published

try-to-result

Result Type with try method to catch errors

  • v1.0.5
  • 30.60
  • Published

promises-delivery

This package is used to manage multiple promises by giving a key, you can call resolve or reject function out of the promise parameter callback and manage them by a key.

  • v1.1.0
  • 30.56
  • Published

safe-async-fn

Lightweight wrapper to make async functions safer

  • v1.0.0
  • 30.34
  • Published

use-async-effect2

Asynchronous versions of the `useEffect` and` useCallback` hooks that able to cancel internal code by user requests or component unmounting

  • v0.12.2
  • 29.94
  • Published

@hazae41/future

Just like a Promise but you can manually resolve or reject it

  • v2.0.1
  • 28.49
  • Published

promised-debounce

For limiting the time to resolve a promise.

  • v0.4.2
  • 27.07
  • Published

promise-remotely

A simple and powerful Promise class that give to you capability to remote resolve/reject a promise.

  • v0.1.3
  • 26.48
  • Published

ramda.reject

R.reject exported as a module

    • v0.26.1
    • 26.13
    • Published

    prisma-rbac

    Prisma middleware that handles Role-Based Access Control based on Express server context

    • v1.2.9
    • 25.75
    • Published

    resolve-when

    Returns a promise that resolves once condition is met

    • v1.0.10
    • 25.09
    • Published

    extra-sorted-array

    A sorted array is a collection of values, arranged in an order.

    • v1.2.1
    • 23.03
    • Published

    extra-map

    A group of functions for working with Maps.

    • v3.2.2
    • 22.91
    • Published

    @superawesome/permissions

    Fine grained permissions / access control with ownerships & attribute picking, done right.

    • v1.0.3
    • 22.53
    • Published

    execute-shell-promise

    Execute a sub-process command. Resolve the stdin in a promise.

      • v1.0.1
      • 22.42
      • Published

      extra-map.web

      A group of functions for working with Maps {web}.

      • v3.2.2
      • 22.40
      • Published

      promise_mtd

      Set of methods allowing simplify work with promises in cycle such as: forEach, map, find, filter, reduce, while, transform. Besides there are methods for comfortable work with promises or asynchronous operations - all, retry, timeout.

      • v3.2.0
      • 22.29
      • Published

      promise-settled-aggregate

      Works like Promise.allSettled except it will reject with an AggregateError if some of the promises rejected, otherwise resolves with the fulfilled values.

      • v0.5.1
      • 21.89
      • Published

      extra-object

      A collection of methods for working with Objects.

      • v3.2.2
      • 21.65
      • Published

      extra-ilists

      ILists is a pair of key iterable list and value iterable list, with unique keys.

      • v3.1.18
      • 21.32
      • Published

      extra-entries.web

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

      • v3.2.2
      • 20.99
      • Published

      throw-rejects

      Throw unhandled Promise rejections

      • v1.0.0
      • 20.92
      • Published

      @superawesome/permissions-nestjs

      NestJS Guard & Decorators for @superawesome/permissions, promoting orthogonal fine-grained API access control to resources.

      • v1.0.1
      • 20.77
      • Published

      extra-set.web

      A pack of functions for working with Sets {web}.

      • v3.2.2
      • 20.62
      • Published

      pendings

      Better control of promises

      • v0.2.7
      • 20.56
      • Published

      extra-ilists.web

      ILists is a pair of key iterable list and value iterable list, with unique keys {web}.

      • v3.1.18
      • 20.20
      • Published

      async-sleep

      Sleep based on promise

      • v0.1.0
      • 19.63
      • Published

      extra-object.web

      A collection of methods for working with Objects {web}.

      • v3.2.2
      • 19.51
      • 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
      • 18.38
      • Published

      extra-array.web

      An array is a collection of values, stored contiguously {web}.

      • v4.3.3
      • 18.27
      • Published

      @actualwave/deferred

      Simple function to create Promise with exposed resolve() and reject() handlers.

      • v0.0.1
      • 18.24
      • Published

      catch-match

      ![image](https://user-images.githubusercontent.com/1615093/149611056-ad5f8c6c-d7fe-4a64-aed4-a1763135e7ee.png)

      • v3.1.0
      • 18.02
      • Published

      policyline

      Attributes Based Access Control library for Node.JS

      • v2.1.1
      • 17.89
      • Published

      extra-lists

      A collection of functions for operating upon Lists.

      • v4.0.8
      • 17.27
      • Published

      catching

      Catch promise reject, return as promise resolve.

      • v1.0.3
      • 16.19
      • Published

      extra-sorted-array.web

      A sorted array is a collection of values, arranged in an order {web}.

      • v1.2.1
      • 16.15
      • Published

      empty-promise

      externally exposed resolve/reject api for native promises

      • v1.2.0
      • 15.87
      • Published

      await-deadline

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

      • v1.0.3
      • 15.86
      • Published

      jasmine-spy

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

      • v0.0.2
      • 15.83
      • Published

      extra-entries

      A collection of functions for operating upon Entries.

      • v3.2.2
      • 15.17
      • Published

      dpa

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

      • v2.0.0
      • 14.86
      • Published

      coworkers-errors

      Errors and errorHandler useful for "coworkers" applications

      • v0.2.4
      • 14.13
      • 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.04
      • Published

      @s5rw/accesscontrol

      Role and Attribute based Access Control for Node.js

      • v2.3.0
      • 13.98
      • Published

      giffy-break

      Watch random gifs in a browser while your promise is resolving

      • v0.4.2
      • 13.12
      • Published

      wise-fetch

      Feature-rich node-fetch

      • v0.4.0-1
      • 12.95
      • Published

      cp-koa

      enhanced Koa version with cancelable middlewares support

      • v0.2.1
      • 12.86
      • Published

      promiseful

      Useful patterns with Promise functions

      • v0.1.3
      • 12.68
      • 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.17
      • Published

      assert-rejected

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

      • v1.1.1
      • 11.80
      • Published

      bauer-promise

      Wrapper for bluebird with extend feature.

      • v1.1.3
      • 11.80
      • 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.49
      • 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.40
      • Published

      @woubuc/deferred

      A Promise that can be resolved externally

      • v2.0.0
      • 11.19
      • Published

      mocha-qa

      A convenience helper for testing promises using the mocha library

      • v0.9.3
      • 11.11
      • Published

      async.reject

      async rejectmethod as module.

      • v0.5.2
      • 10.49
      • Published

      @dhlx/resolver

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

      • v0.0.8
      • 10.49
      • Published

      public-promise

      Promise that exposes resolve and reject publicly

      • v1.0.3
      • 10.30
      • 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
      • 9.98
      • 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.81
      • 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.72
      • Published

      deferred-bounce

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

      • v0.0.6
      • 9.23
      • Published

      error-ninja

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

      • v1.1.7
      • 9.23
      • Published

      basic-promise

      Module promise with a simple syntax

      • v0.1.1
      • 9.08
      • Published

      @safs.io/match

      Gale/Shapely deferred acceptance algorithm

      • v1.0.5
      • 8.81
      • 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.59
      • Published

      occaecatiratione

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

      • v1.4.1
      • 8.12
      • Published

      underwriter

      An automated Promise Registry

      • v1.0.1-2
      • 8.08
      • 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.97
      • Published

      @stdlib/iter-reject

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

      • v0.2.2
      • 7.69
      • Published

      inline-promise

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

      • v1.5.0
      • 7.30
      • Published

      rejections

      Promise rejections helpers

      • v1.1.0
      • 7.21
      • Published

      forger

      Async utilities and helpers for node

      • v1.4.0
      • 7.21
      • Published

      teth-pipe

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

      • v1.0.9
      • 6.70
      • Published

      @stdlib/iter-filter

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

      • v0.2.2
      • 6.70
      • 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.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.53
      • Published

      getpayload

      Unify responses and errors payloads for `fetch` requests

      • v0.0.1
      • 5.53
      • 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

      lag.reject

      The lag function reject() as a standalone module.

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

      funny-reject

      Simple modules for functional programming, done for fun.

      • v1.0.3
      • 4.23
      • 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.19
      • Published

      oathjs

      A promise utility library

      • v0.1.2
      • 4.19
      • Published

      http-reject-empty

      A function to reject empty values with an http exception

      • v1.0.0
      • 4.06
      • Published

      a-defer

      Create a deferred promise

        • v0.1.1
        • 4.04
        • Published

        squab

        a basic Promise library

        • v0.0.2
        • 4.04
        • Published

        reject-empty

        Omit empty values of an array|object

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

        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.99
        • 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.99
        • Published

        managed-promise

        A Promise that can be resolved/rejecter at will

        • v1.0.0
        • 2.49
        • Published

        res-rej-types

        Type definitions for Promise resolve/reject callbacks

        • v0.1.1
        • 2.49
        • Published

        async-attempt

        Intuitive way of using aysnc-await

        • v0.0.3
        • 2.49
        • Published

        p-allay

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

        • v0.1.0
        • 2.49
        • Published

        forgot-await

        Checks if you forgot `await` before async function call

        • v0.0.4
        • 2.47
        • Published

        eq-timeout

        timeout lib

        • v1.0.11
        • 2.47
        • Published

        negate-promise

        Negate a promise, reject resolved promise, resolve rejected promise

        • v1.0.0
        • 2.45
        • Published

        dual-api

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

        • v0.0.3
        • 2.36
        • Published

        redux-transaction

        Optimistically apply actions, then rollback when they fail

        • v0.0.5
        • 2.33
        • Published

        @stdlib/iter-filter-map

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

        • v0.2.2
        • 2.32
        • Published

        @gradecam/delay

        Delay specified amount of time then resolve/reject promise.

        • v1.0.1
        • 2.32
        • Published

        promiseout

        reject the promise if timeout is broken

        • v0.0.3
        • 2.32
        • Published

        promise-unmap

        Await until all promises resolve and reject

        • v0.2.5
        • 2.32
        • 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