JSPM

Found 193 results for reject

Promise.js

promise similar es6 promise as the same api

  • v1.0.1
  • 30.88
  • 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.64
  • Published

try-to-result

Result Type with try method to catch errors

  • v1.0.5
  • 30.41
  • Published

safe-async-fn

Lightweight wrapper to make async functions safer

  • v1.0.0
  • 30.38
  • 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.76
  • Published

@hazae41/future

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

  • v2.0.1
  • 28.31
  • Published

promised-debounce

For limiting the time to resolve a promise.

  • v0.4.2
  • 27.11
  • Published

promise-remotely

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

  • v0.1.3
  • 26.58
  • Published

ramda.reject

R.reject exported as a module

    • v0.26.1
    • 26.17
    • Published

    prisma-rbac

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

    • v1.2.9
    • 25.79
    • Published

    resolve-when

    Returns a promise that resolves once condition is met

    • v1.0.10
    • 24.94
    • Published

    extra-map

    A group of functions for working with Maps.

    • v3.2.2
    • 22.97
    • Published

    extra-sorted-array

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

    • v1.2.1
    • 22.89
    • Published

    @superawesome/permissions

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

    • v1.0.3
    • 22.56
    • Published

    extra-map.web

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

    • v3.2.2
    • 22.45
    • Published

    execute-shell-promise

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

      • v1.0.1
      • 22.37
      • 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.35
      • 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.76
      • Published

      extra-object

      A collection of methods for working with Objects.

      • v3.2.2
      • 21.51
      • Published

      extra-ilists

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

      • v3.1.18
      • 21.34
      • Published

      throw-rejects

      Throw unhandled Promise rejections

      • v1.0.0
      • 20.97
      • Published

      extra-entries.web

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

      • v3.2.2
      • 20.87
      • Published

      @superawesome/permissions-nestjs

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

      • v1.0.1
      • 20.80
      • Published

      extra-set.web

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

      • v3.2.2
      • 20.67
      • Published

      pendings

      Better control of promises

      • v0.2.7
      • 20.43
      • Published

      extra-ilists.web

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

      • v3.1.18
      • 20.28
      • Published

      extra-object.web

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

      • v3.2.2
      • 19.57
      • Published

      async-sleep

      Sleep based on promise

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

      @actualwave/deferred

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

      • v0.0.1
      • 18.19
      • Published

      extra-array.web

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

      • v4.3.3
      • 18.16
      • Published

      catch-match

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

      • v3.1.0
      • 17.91
      • Published

      policyline

      Attributes Based Access Control library for Node.JS

      • v2.1.1
      • 17.77
      • Published

      extra-lists

      A collection of functions for operating upon Lists.

      • v4.0.8
      • 17.34
      • Published

      catching

      Catch promise reject, return as promise resolve.

      • v1.0.3
      • 16.22
      • Published

      extra-sorted-array.web

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

      • v1.2.1
      • 16.11
      • Published

      empty-promise

      externally exposed resolve/reject api for native promises

      • v1.2.0
      • 15.93
      • Published

      await-deadline

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

      • v1.0.3
      • 15.90
      • Published

      jasmine-spy

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

      • v0.0.2
      • 15.87
      • Published

      extra-entries

      A collection of functions for operating upon Entries.

      • v3.2.2
      • 15.08
      • Published

      dpa

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

      • v2.0.0
      • 14.90
      • Published

      coworkers-errors

      Errors and errorHandler useful for "coworkers" applications

      • v0.2.4
      • 14.15
      • 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.08
      • Published

      @s5rw/accesscontrol

      Role and Attribute based Access Control for Node.js

      • v2.3.0
      • 13.89
      • Published

      giffy-break

      Watch random gifs in a browser while your promise is resolving

      • v0.4.2
      • 13.04
      • Published

      cp-koa

      enhanced Koa version with cancelable middlewares support

      • v0.2.1
      • 12.89
      • Published

      wise-fetch

      Feature-rich node-fetch

      • v0.4.0-1
      • 12.87
      • Published

      promiseful

      Useful patterns with Promise functions

      • v0.1.3
      • 12.72
      • Published

      apr-reject

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

      • v3.0.3
      • 12.25
      • Published

      extra-lists.web

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

      • v4.0.8
      • 12.14
      • Published

      assert-rejected

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

      • v1.1.1
      • 11.83
      • Published

      bauer-promise

      Wrapper for bluebird with extend feature.

      • v1.1.3
      • 11.83
      • 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.50
      • 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.43
      • Published

      mocha-qa

      A convenience helper for testing promises using the mocha library

      • v0.9.3
      • 11.14
      • Published

      @woubuc/deferred

      A Promise that can be resolved externally

      • v2.0.0
      • 11.12
      • Published

      async.reject

      async rejectmethod as module.

      • v0.5.2
      • 10.52
      • Published

      @dhlx/resolver

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

      • v0.0.8
      • 10.52
      • Published

      public-promise

      Promise that exposes resolve and reject publicly

      • v1.0.3
      • 10.24
      • 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.01
      • 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.85
      • Published

      cleffa

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

      • v0.4.0
      • 9.76
      • Published

      basic-deferred

      Deferred in the most basic way

      • v0.0.5
      • 9.69
      • Published

      deferred-bounce

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

      • v0.0.6
      • 9.24
      • Published

      error-ninja

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

      • v1.1.7
      • 9.24
      • Published

      basic-promise

      Module promise with a simple syntax

      • v0.1.1
      • 9.06
      • Published

      @safs.io/match

      Gale/Shapely deferred acceptance algorithm

      • v1.0.5
      • 8.83
      • Published

      log-reject-error

      Dead Simple unhandledRejection handler

      • v0.0.2
      • 8.67
      • 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.61
      • Published

      occaecatiratione

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

      • v1.4.1
      • 8.14
      • Published

      underwriter

      An automated Promise Registry

      • v1.0.1-2
      • 8.03
      • 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.92
      • Published

      @stdlib/iter-reject

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

      • v0.2.2
      • 7.70
      • Published

      inline-promise

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

      • v1.5.0
      • 7.26
      • Published

      rejections

      Promise rejections helpers

      • v1.1.0
      • 7.22
      • Published

      forger

      Async utilities and helpers for node

      • v1.4.0
      • 7.22
      • Published

      teth-pipe

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

      • v1.0.9
      • 6.72
      • Published

      @stdlib/iter-filter

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

      • v0.2.2
      • 6.72
      • 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.29
      • Published

      till-event

      Node.js events to promises

      • v0.0.4
      • 6.29
      • Published

      piperify

      async pipeline and promise utility

      • v0.0.0
      • 5.52
      • Published

      getpayload

      Unify responses and errors payloads for `fetch` requests

      • v0.0.1
      • 5.52
      • Published

      husk-reject

      Reject chunks using a function.

      • v1.0.2
      • 5.38
      • 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.25
      • Published

      lag.reject

      The lag function reject() as a standalone module.

      • v0.1.0
      • 5.24
      • Published

      funny-reject

      Simple modules for functional programming, done for fun.

      • v1.0.3
      • 4.24
      • 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.17
      • Published

      oathjs

      A promise utility library

      • v0.1.2
      • 4.17
      • Published

      http-reject-empty

      A function to reject empty values with an http exception

      • v1.0.0
      • 4.07
      • Published

      a-defer

      Create a deferred promise

        • v0.1.1
        • 4.02
        • Published

        squab

        a basic Promise library

        • v0.0.2
        • 4.02
        • Published

        reject-empty

        Omit empty values of an array|object

        • v1.0.1
        • 4.02
        • 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.96
        • 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.96
        • 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.48
        • Published

        eq-timeout

        timeout lib

        • v1.0.11
        • 2.48
        • Published

        negate-promise

        Negate a promise, reject resolved promise, resolve rejected promise

        • v1.0.0
        • 2.44
        • 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.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

        redux-transaction

        Optimistically apply actions, then rollback when they fail

        • v0.0.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