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
@sanity/bifur-client
WebSocket client for Sanity's Bifur real-time service, communicating over JSON-RPC 2.0 and returning RxJS Observables
844.8k---1 month ago
2.0.2
ESM onlyBundledWebSockets and realtime, Promises and async control flow
nestjs-cls
A continuation-local storage module compatible with NestJS's dependency injection.
842.1k+146%-today
7.0.1
ESM + CommonJSBundledPromises and async control flow
just-debounce
a simple debounce with no dependencies or crazy defaults
814.1k-2%-5 years ago
1.1.0
CommonJSNonePromises and async control flow
p-reflect
Make a promise always fulfill with its actual fulfillment value or rejection reason
797.7k+34%-4 years ago
3.1.0
ESM onlyBundledPromises and async control flow
@tanstack/pacer
Utilities for debouncing, throttling, rate-limiting, queuing, and more.
787.1k---1 month ago
0.22.0
ESM + CommonJSBundledQueues and background jobs, Promises and async control flow
@supercharge/promise-pool
Map-like, concurrent promise processing for Node.js
777.2k---6 months ago
3.3.0
CommonJSBundledPromises and async control flow
fastparallel
Zero-overhead asynchronous parallel/each/map function call
770.7k+136%-4 years ago
2.4.1
CommonJSNonePromises and async control flow
run-parallel-limit
Run an array of functions in parallel, but limit the number of tasks executing at the same time
678.5k-29%-5 years ago
1.1.0
CommonJSNonePromises and async control flow
async-each-series
Apply an async function to each Array element in series.
676.6k-9%-11 years ago
1.1.0
CommonJSNonePromises and async control flow
fastseries
Zero-overhead asynchronous series/each/map function calls
663.2k+144%-6 years ago
2.0.0
CommonJSNonePromises and async control flow
evt
Type safe replacement for node's EventEmitter
640.6k+571%-1 year ago
2.5.9
CommonJSBundledPromises and async control flow, TypeScript tooling
run-exclusive
Generate functions that do not allow parallel executions
637.4k+608%-3 years ago
2.2.19
CommonJSBundledTypeScript tooling, Promises and async control flow
p-settle
Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency
630.7k+11%-5 months ago
5.2.1
ESM onlyBundledPromises and async control flow
map-limit
async.mapLimit's functionality available as a standalone npm module
629.8k+54%-12 years ago
0.0.1
CommonJSNonePromises and async control flow
deferred
Modular and fast Promises implementation
608.2k-21%-7 years ago
0.7.11
-NonePromises and async control flow
p-debounce
Debounce promise-returning & async functions
604.9k+74%-12 days ago
5.1.1
ESM onlyBundledPromises and async control flow
observable-callback
A small utility for simplified creation of callback functions that publishes the argument to an observable stream when called.
600.9k+218%-3 years ago
1.0.3
ESM + CommonJSBundledPromises and async control flow
steed
horsepower for your modules
589.1k+151%-10 years ago
1.1.3
CommonJSNonePromises and async control flow
express-async-errors
Async/await error handling support for expressjs
580.4k+86%-7 years ago
3.1.1
CommonJSNonePromises and async control flow
rxjs-mergemap-array
An RxJS map operator that takes an observable of arrays as input and emits arrays where each element represents emissions from the projected observable.
579.4k+308%-2 years ago
0.1.0
ESM + CommonJSBundledPromises and async control flow
express-promise-router
A lightweight wrapper for Express 4's Router that allows middleware to return promises
561.7k+174%-4 years ago
4.1.1
CommonJSBundledPromises and async control flow, HTTP servers and web frameworks
rhea-promise
A Promisified layer over rhea AMQP client
557.8k+71%-2 years ago
3.0.3
CommonJSBundledPromises and async control flow
observable-fns
Light-weight observable implementation and utils written in TypeScript. Based on zen-observable.
545.4k+149%-5 years ago
0.6.1
ESM + CommonJSNonePromises and async control flow, TypeScript tooling
@stdlib/fs-resolve-parent-path
Resolve a path by walking parent directories.
542k---7 months ago
0.2.3
CommonJSBundledFiles and file systems, Promises and async control flow
stream-promise
Promise that shares Node.js Stream interface
541k-30%-7 years ago
3.2.0
-NonePromises and async control flow
fn-args
Get the arguments of a function, arrow function, generator function, async function
535.9k+69%-5 years ago
6.0.0
ESM onlyNonePromises and async control flow
ts-retry-promise
retry for functions returning a promise
518.8k+5%-2 years ago
0.8.1
CommonJSBundledPromises and async control flow, TypeScript tooling
sleep-promise
Resolves a promise after a specified delay
514.6k+182%-5 years ago
9.1.0
ESM + CommonJSBundledPromises and async control flow
mkdirp-promise
Promise version of mkdirp
512.4k-22%-9 years ago
5.0.1
CommonJSNonePromises and async control flow, Files and file systems
spex
Specialized Promise Extensions
491.2k-2%-10 months ago
4.1.0
CommonJSBundledPromises and async control flow
es6-promise-pool
Runs Promises in a pool that limits their concurrency.
468.7k+452%-9 years ago
2.5.0
CommonJSBundledPromises and async control flow
kew
a lightweight promise library for node
465.6k+12%-11 years ago
0.7.0
CommonJSNonePromises and async control flow
promise-toolbox
Essential utils for promises
450k+264%-4 years ago
0.21.0
CommonJSNonePromises and async control flow
promise-coalesce
Coalesces multiple promises for the same identifier into a single request
441.7k-8%-10 months ago
1.5.0
CommonJSBundledPromises and async control flow
mappersmith
It is a lightweight rest client for node.js and the browser
430.7k+43%-5 months ago
2.47.1
ESM + CommonJSBundledPromises and async control flow, Node.js utilities
promise-props-recursive
Recursively resolve promises within objects
422.1k+7365%-4 years ago
2.0.2
CommonJSBundledPromises and async control flow
ava
Node.js test runner that lets you develop with confidence.
402.6k-31%-4 months ago
8.0.1
ESM onlyBundledPromises and async control flow, Testing
loadjs
Tiny async loader for modern browsers
395.8k+73%-2 years ago
4.3.0
CommonJSNonePromises and async control flow
deasync
Turns async function into sync via JavaScript wrapper of Node event loop
395.8k-21%-10 months ago
0.1.31
CommonJSNonePromises and async control flow
yaku
A lightweight promise library
380.2k+49%-6 years ago
1.0.1
CommonJSBundledPromises and async control flow
@stdlib/fs-read-file
Read the entire contents of a file.
345k---7 months ago
0.2.3
CommonJSBundledFiles and file systems, Promises and async control flow
redux-observable
RxJS based middleware for Redux. Compose and cancel async actions and more.
342.7k+55%-9 months ago
3.0.0-rc.3
ESM + CommonJSBundledPromises and async control flow
promisify-child-process
seriously like the best async child process library
332.5k+69%-7 months ago
5.0.1
ESM + CommonJSBundledPromises and async control flow, Node.js utilities
penpal
Penpal simplifies communication with iframes, workers, and windows by using promise-based methods on top of postMessage.
329.6k+168%-1 month ago
8.0.1
ESM + CommonJSBundledPromises and async control flow
p-iteration
Make array iteration easy when using async/await and Promises
324.7k-26%-7 years ago
1.1.8
CommonJSBundledPromises and async control flow
promise-timeout
Simple timeouts for promises
323.8k+55%-8 years ago
1.3.0
CommonJSNonePromises and async control flow
after-all-results
Bundle results of async functions calls into one callback with all the results
322.9k+3%-11 years ago
2.0.0
CommonJSNonePromises and async control flow
serialport
Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
320.2k+171%-1 year ago
13.0.0
CommonJSBundledPromises and async control flow, Node.js utilities
@breejs/later
Maintained fork of later. Determine later (or previous) occurrences of recurring schedules
313k---2 years ago
4.2.0
CommonJSNonePromises and async control flow, Queues and background jobs
caf
Cancelable Async Flows: a wrapper to treat generators as cancelable async functions
312.7k+18%-4 years ago
15.0.1
ESM + CommonJSNonePromises 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.

  • @sanity/bifur-clientWebSocket client for Sanity's Bifur real-time service, communicating over JSON-RPC 2.0 and returning RxJS Observables
  • nestjs-clsA continuation-local storage module compatible with NestJS's dependency injection.
  • just-debouncea simple debounce with no dependencies or crazy defaults
  • p-reflectMake a promise always fulfill with its actual fulfillment value or rejection reason
  • @tanstack/pacerUtilities for debouncing, throttling, rate-limiting, queuing, and more.
  • @supercharge/promise-poolMap-like, concurrent promise processing for Node.js
  • fastparallelZero-overhead asynchronous parallel/each/map function call
  • run-parallel-limitRun an array of functions in parallel, but limit the number of tasks executing at the same time
  • async-each-seriesApply an async function to each Array element in series.
  • fastseriesZero-overhead asynchronous series/each/map function calls
  • evtType safe replacement for node's EventEmitter
  • run-exclusiveGenerate functions that do not allow parallel executions
  • p-settleSettle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency
  • map-limitasync.mapLimit's functionality available as a standalone npm module
  • deferredModular and fast Promises implementation
  • p-debounceDebounce promise-returning & async functions
  • observable-callbackA small utility for simplified creation of callback functions that publishes the argument to an observable stream when called.
  • steedhorsepower for your modules
  • express-async-errorsAsync/await error handling support for expressjs
  • rxjs-mergemap-arrayAn RxJS map operator that takes an observable of arrays as input and emits arrays where each element represents emissions from the projected observable.
  • express-promise-routerA lightweight wrapper for Express 4's Router that allows middleware to return promises
  • rhea-promiseA Promisified layer over rhea AMQP client
  • observable-fnsLight-weight observable implementation and utils written in TypeScript. Based on zen-observable.
  • @stdlib/fs-resolve-parent-pathResolve a path by walking parent directories.
  • stream-promisePromise that shares Node.js Stream interface
  • fn-argsGet the arguments of a function, arrow function, generator function, async function
  • ts-retry-promiseretry for functions returning a promise
  • sleep-promiseResolves a promise after a specified delay
  • mkdirp-promisePromise version of mkdirp
  • spexSpecialized Promise Extensions
  • es6-promise-poolRuns Promises in a pool that limits their concurrency.
  • kewa lightweight promise library for node
  • promise-toolboxEssential utils for promises
  • promise-coalesceCoalesces multiple promises for the same identifier into a single request
  • mappersmithIt is a lightweight rest client for node.js and the browser
  • promise-props-recursiveRecursively resolve promises within objects
  • avaNode.js test runner that lets you develop with confidence.
  • loadjsTiny async loader for modern browsers
  • deasyncTurns async function into sync via JavaScript wrapper of Node event loop
  • yakuA lightweight promise library
  • @stdlib/fs-read-fileRead the entire contents of a file.
  • redux-observableRxJS based middleware for Redux. Compose and cancel async actions and more.
  • promisify-child-processseriously like the best async child process library
  • penpalPenpal simplifies communication with iframes, workers, and windows by using promise-based methods on top of postMessage.
  • p-iterationMake array iteration easy when using async/await and Promises
  • promise-timeoutSimple timeouts for promises
  • after-all-resultsBundle results of async functions calls into one callback with all the results
  • serialportNode.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
  • @breejs/laterMaintained fork of later. Determine later (or previous) occurrences of recurring schedules
  • cafCancelable Async Flows: a wrapper to treat generators as cancelable async functions