Skip to content
JS
Package category

Promises and async control flow

Concurrency limits, retries, timeouts, debounce and async helpers.

735 packages3 comparisons

Packages compared

735 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
bluebird-global
Patches global.Promise to use bluebird and returns a bluebird instance
35.4k+122%-9 years ago
1.0.1
-NonePromises and async control flow, Polyfills and shims
@zmotivat0r/o0
Async/await wrapper with error handling, retry and error override
35.3k---7 years ago
1.0.2
CommonJSBundledPromises and async control flow, TypeScript tooling
@asyncapi/html-template
HTML template for the AsyncAPI generator.
35.3k---6 months ago
3.5.6
-NonePromises and async control flow, Node.js utilities
mime-kind
Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.
34.5k+142%-3 years ago
4.0.0
CommonJSNonePromises and async control flow, Node.js utilities
bree
The best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v12.17.0+, uses worker threads to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and cancelab
33.6k+30%-7 months ago
9.2.9
CommonJSBundledPromises and async control flow, Queues and background jobs
taskgroup
Group together synchronous and asynchronous tasks and execute them with support for concurrency, naming, and nesting.
32.6k-50%-2 years ago
9.8.0
CommonJSNonePromises and async control flow
async.queue
async queuemethod as module.
32.6k+5%-10 years ago
0.5.2
CommonJSNonePromises and async control flow
writable-consumable-stream
An async stream which can be iterated over using a for-await-of loop.
32k-24%-1 year ago
4.2.0
CommonJSNonePromises and async control flow
sinon-as-promised
Sugar methods for using sinon.js stubs with promises
31.9k+42%-9 years ago
4.0.3
CommonJSNonePromises and async control flow
awilix-manager
Wrapper over awilix to support more complex use-cases, such as async init and eager injection
31.8k+127%-2 days ago
7.1.0
CommonJSBundledPromises and async control flow
parley
Practical, lightweight flow control for Node.js. Supports `await`, callbacks and promises.
31.5k+38%-5 years ago
4.0.0
CommonJSNonePromises and async control flow
async-stream-emitter
An alternantive to EventEmitter using consumable streams.
31.3k-19%-2 years ago
7.0.1
CommonJSNonePromises and async control flow
async.ensureasync
async ensureasyncmethod as module.
30.8k+3%-10 years ago
0.5.2
CommonJSNonePromises and async control flow
async-mqtt
Promise wrapper over MQTT.js
30.5k-22%-4 years ago
2.6.3
CommonJSBundledPromises and async control flow, WebSockets and realtime
each-limit
async's eachLimit function as its own module
30k+1106%-12 years ago
1.0.0
CommonJSNonePromises and async control flow
ts-polyfill
Runtime polyfills for TypeScript libs, powered by core-js!
29.3k+44%-6 years ago
3.8.2
CommonJSBundledPolyfills and shims, TypeScript tooling
async-request-handler
Safe async RequestHandler to catch Promise rejection
29k+139%-22 days ago
1.2.1
ESM + CommonJSBundledPromises and async control flow
abortable-iterator
Make any iterator or iterable abortable via an AbortSignal
28.7k+49%-2 years ago
5.1.0
ESM onlyBundledPromises and async control flow
cypress-promise
Convert a Cypress chain into a promise for use with async/await
28.3k-23%-6 years ago
1.1.0
CommonJSNonePromises and async control flow, Testing
cheap-watch
If it works, why use something else?
28k+524%-5 years ago
1.0.4
ESM + CommonJSBundledPromises and async control flow
lll
A simple implementation of async.parallel
27.7k+10%-12 years ago
0.0.3
CommonJSNonePromises and async control flow
@tanstack/svelte-query-devtools
Developer tools to interact with and visualize the TanStack/svelte-query cache
27.7k---3 days ago
6.2.4
ESM onlyBundledCaching, Svelte
p-series
Run promise-returning & async functions in series
27.4k-34%-5 years ago
3.0.0
ESM onlyNonePromises and async control flow
promise-callbacks
Utilities to help convert a callback-using codebase to promises.
27.1k+33%-6 years ago
3.8.2
CommonJSNonePromises and async control flow
sync-promise-expanded
Ultra compact synchronized promise implementation.
26.7k+5940%-1 month ago
2.0.0
ESM + CommonJSBundledPromises and async control flow
vue-debounce
A simple vue directive for debounce
26k-12%-1 year ago
5.0.1
ESM onlyBundledVue, Promises and async control flow
dank-do-while
An asynchronous do-while-like function
26k+221%-2 years ago
1.0.1
ESM + CommonJSBundledPromises and async control flow
readdir-enhanced
fs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.
25.3k-8%-6 years ago
6.0.4
CommonJSBundledPromises and async control flow, Files and file systems
@anvilco/node-fetch
A light-weight module that brings Fetch API to node.js
25.3k---2 years ago
3.1.2-beta.0
ESM onlyBundledHTTP clients, Promises and async control flow
promise-parallel-throttle
Run promises in parallel, but throttled
25.2k-2%-2 years ago
3.5.0
ESM + CommonJSBundledPromises and async control flow
p-tap
Tap into a promise chain without affecting its value or state
25k+22%-5 years ago
4.0.0
ESM onlyNonePromises and async control flow
async-await-queue
async/await simple priority queues
24.7k+31%-3 years ago
2.1.4
ESM + CommonJSBundledPromises and async control flow
reqwest
A wrapper for asynchronous http requests
24.4k-9%-10 years ago
2.0.5
CommonJSNoneHTTP clients, Promises and async control flow
quick-resolve
A Synchronous Promise.resolve. Preserve Sync/Async. Only Go Async If Necessary.
24.3k-18%-4 years ago
0.0.1
CommonJSNonePromises and async control flow
load-google-maps-api
A lightweight Promise-returning helper for loading the Google Maps JavaScript API
24k-20%-6 years ago
2.0.2
-NonePromises and async control flow, Maps and geolocation
@yume-chan/async
Utils for async programming.
24k---1 year ago
4.1.3
ESM + CommonJSBundledPromises and async control flow
composer
Run and compose async tasks. Easily define groups of tasks to run in series or parallel.
23.7k-24%-7 years ago
4.1.0
CommonJSNonePromises and async control flow
async-test-util
Util-functions that are be useful in async tests
23.5k-38%-2 years ago
2.5.0
ESM + CommonJSBundledTesting, Promises and async control flow
@auth0/s3
Amazon S3 client for upload/download files
23.5k---9 months ago
1.0.1
CommonJSNoneCloud SDKs, Promises and async control flow
graph-run
Run operations on a graph, maximizing parallelism
22.8k+3622%-1 year ago
1.1.0
ESM + CommonJSBundledPromises and async control flow
p-throttler
A promise based throttler capable of limiting execution of parallel tasks
22.6k+2%-10 years ago
1.0.2
CommonJSNonePromises and async control flow
queue-promise
A simple, dependency-free library for concurrent promise-based queues. Comes with with concurrency and timeout control.
22.6k+16%-5 years ago
2.2.1
CommonJSBundledPromises and async control flow, Queues and background jobs
p-mutex
Async mutex lock for managing access to a shared resource
22.5k+1152%-1 year ago
1.0.0
ESM onlyBundledPromises and async control flow
promise-events
A promise-based events emitter
22.4k+13%-5 years ago
0.2.4
CommonJSNonePromises and async control flow
promise-worker
Communicate with a Web Worker using Promises
22.3k+99%-7 years ago
2.0.1
CommonJSNonePromises and async control flow
limit-concur
Limit an async function's concurrency with ease!
22.1k+179289%-1 year ago
4.0.0
ESM onlyBundledPromises and async control flow
async-es
Higher-order functions and common patterns for asynchronous code
22.1k-15%-2 years ago
3.2.6
ESM + CommonJSNonePromises and async control flow
p-times
Run promise-returning & async functions a specific number of times concurrently
21.3k+27%-5 years ago
4.0.0
ESM onlyNonePromises and async control flow
it-concat
Concat all buffers/strings yielded from an async iterable into a single BufferList/string
21.2k+32%-2 years ago
3.0.3
ESM onlyBundledPromises and async control flow
async-to-gen
Transform async functions to generator functions with speed and simplicity.
21.1k+4%-8 years ago
1.4.0
CommonJSNoneBuild tools, Promises and async control flow

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • bluebird-globalPatches global.Promise to use bluebird and returns a bluebird instance
  • @zmotivat0r/o0Async/await wrapper with error handling, retry and error override
  • @asyncapi/html-templateHTML template for the AsyncAPI generator.
  • mime-kindDetect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.
  • breeThe best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v12.17.0+, uses worker threads to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and cancelab
  • taskgroupGroup together synchronous and asynchronous tasks and execute them with support for concurrency, naming, and nesting.
  • async.queueasync queuemethod as module.
  • writable-consumable-streamAn async stream which can be iterated over using a for-await-of loop.
  • sinon-as-promisedSugar methods for using sinon.js stubs with promises
  • awilix-managerWrapper over awilix to support more complex use-cases, such as async init and eager injection
  • parleyPractical, lightweight flow control for Node.js. Supports `await`, callbacks and promises.
  • async-stream-emitterAn alternantive to EventEmitter using consumable streams.
  • async.ensureasyncasync ensureasyncmethod as module.
  • async-mqttPromise wrapper over MQTT.js
  • each-limitasync's eachLimit function as its own module
  • ts-polyfillRuntime polyfills for TypeScript libs, powered by core-js!
  • async-request-handlerSafe async RequestHandler to catch Promise rejection
  • abortable-iteratorMake any iterator or iterable abortable via an AbortSignal
  • cypress-promiseConvert a Cypress chain into a promise for use with async/await
  • cheap-watchIf it works, why use something else?
  • lllA simple implementation of async.parallel
  • @tanstack/svelte-query-devtoolsDeveloper tools to interact with and visualize the TanStack/svelte-query cache
  • p-seriesRun promise-returning & async functions in series
  • promise-callbacksUtilities to help convert a callback-using codebase to promises.
  • sync-promise-expandedUltra compact synchronized promise implementation.
  • vue-debounceA simple vue directive for debounce
  • dank-do-whileAn asynchronous do-while-like function
  • readdir-enhancedfs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.
  • @anvilco/node-fetchA light-weight module that brings Fetch API to node.js
  • promise-parallel-throttleRun promises in parallel, but throttled
  • p-tapTap into a promise chain without affecting its value or state
  • async-await-queueasync/await simple priority queues
  • reqwestA wrapper for asynchronous http requests
  • quick-resolveA Synchronous Promise.resolve. Preserve Sync/Async. Only Go Async If Necessary.
  • load-google-maps-apiA lightweight Promise-returning helper for loading the Google Maps JavaScript API
  • @yume-chan/asyncUtils for async programming.
  • composerRun and compose async tasks. Easily define groups of tasks to run in series or parallel.
  • async-test-utilUtil-functions that are be useful in async tests
  • @auth0/s3Amazon S3 client for upload/download files
  • graph-runRun operations on a graph, maximizing parallelism
  • p-throttlerA promise based throttler capable of limiting execution of parallel tasks
  • queue-promiseA simple, dependency-free library for concurrent promise-based queues. Comes with with concurrency and timeout control.
  • p-mutexAsync mutex lock for managing access to a shared resource
  • promise-eventsA promise-based events emitter
  • promise-workerCommunicate with a Web Worker using Promises
  • limit-concurLimit an async function's concurrency with ease!
  • async-esHigher-order functions and common patterns for asynchronous code
  • p-timesRun promise-returning & async functions a specific number of times concurrently
  • it-concatConcat all buffers/strings yielded from an async iterable into a single BufferList/string
  • async-to-genTransform async functions to generator functions with speed and simplicity.