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
koa-better-error-handler
A better error-handler for Lad and Koa. Makes `ctx.throw` awesome (best used with koa-404-handler)
3.1k+7%-8 months ago
12.0.0
CommonJSNoneHTTP servers and web frameworks, Payments and commerce
qyu
A general-purpose asynchronous job queue for Node.js
3k-47%-1 year ago
2.1.3
ESM + CommonJSBundledPromises and async control flow, Queues and background jobs
zip-folder-promise
Use archiver to zip a folder using promises instead of callbacks
3k+15%-4 years ago
1.2.0
CommonJSNoneCompression and archives, Promises and async control flow
is-symbolic-link
Indicates if path is symbolic link
3k-47%-9 years ago
2.0.3
-NonePromises and async control flow
makepromise
Make a Promise from a function with a callback and preserve its error stack.
3k-18%-6 years ago
3.2.0
ESM + CommonJSNonePromises and async control flow
promise-fn-retry
A tiny, typed, isomorphic retry with exponential backoff, jitter and AbortSignal for failed promises
3k-50%-3 months ago
2.1.0
ESM + CommonJSBundledPromises and async control flow
@mintplex-labs/bree
A fork of BreeJS/bree. A Node.js and JavaScript task scheduler with cron, dates, ms, later, and human-friendly support. Works in Node v12.17.0+, uses worker threads or process forks, and supports async/await, retries, throttling, concurrency, and cancela
2.9k---2 months ago
9.2.6
CommonJSBundledPromises and async control flow, Queues and background jobs
paramap-it
Parallel mapping for async iterators
2.9k-12%-7 years ago
0.1.1
CommonJSNonePromises and async control flow
post-me
Use web Workers and other Windows through a simple Promise API
2.9k+73%-5 years ago
0.4.5
ESM + CommonJSBundledPromises and async control flow, TypeScript tooling
gulp-stream-to-promise
Convert gulp stream to promise.
2.9k+727%-9 years ago
0.1.0
CommonJSNonePromises and async control flow
aurelia-store
Aurelia single state store based on RxJS
2.9k+35%-3 years ago
2.0.1
ESM + CommonJSBundledState management, Promises and async control flow
one-event
Listen to one event via `addEventListener`, then resolve a Promise
2.9k-16%-8 months ago
4.4.0
ESM onlyBundledPromises and async control flow
state-switch
State Switch is a Change Monitor/Guarder for Async Actions.
2.9k+56%-4 years ago
1.6.3
ESM + CommonJSBundledPromises and async control flow
awaiting
The async/await utility for browsers and Node.js.
2.9k+44%-9 years ago
3.0.0
ESM + CommonJSNonePromises and async control flow
async-iterator-to-pull-stream
Convert a (async) iterator to a pull stream
2.9k+75%-7 years ago
1.3.0
CommonJSNonePromises and async control flow
noice-json-rpc
Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers
2.9k+34%-8 years ago
1.2.0
CommonJSBundledPromises and async control flow
pull-stream-to-async-iterator
Convert a pull stream to an async iterator
2.8k+71%-7 years ago
1.0.2
CommonJSNonePromises and async control flow
xaa
async/await/Promise helpers - delay, defer, timeout, each, map, filter
2.8k+727%-1 day ago
3.1.6
ESM onlyBundledPromises and async control flow
squirreling
Squirreling Async SQL Engine
2.8k--7 days ago
0.16.6
ESM onlyBundledDatabase clients and drivers, Promises and async control flow
ts-async-semaphore
A counting semaphore for node based on Java's Sempahore.
2.7k+297%-2 years ago
4.0.1
ESM + CommonJSBundledPromises and async control flow, TypeScript tooling
@leapfrogtechnology/async-store
Global store utility for an async operation lifecycle and chain of callbacks
2.7k---2 years ago
2.1.0
CommonJSBundledPromises and async control flow, State management
@esm2cjs/form-data-encoder
Encode FormData content into the multipart/form-data format. This is a fork of octet-stream/form-data-encoder, but with CommonJS support.
2.7k---3 years ago
2.1.4
ESM + CommonJSBundledPromises and async control flow
aveazul
Bluebird drop-in replacement built on native Promise
2.6k+20844%-1 day ago
2.1.7
ESM + CommonJSBundledPromises and async control flow
@esm2cjs/p-cancelable
Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable, but with CommonJS support.
2.6k---4 years ago
4.0.1
ESM + CommonJSBundledPromises and async control flow
p-try-each
Runs promise-returning functions in series but stops whenever any of the functions were successful
2.5k+72%-6 years ago
1.0.1
CommonJSBundledPromises and async control flow
nextjs
The fastest async handler in node.js
2.5k-11%-12 years ago
0.0.3
CommonJSNonePromises and async control flow, Static site generators and meta-frameworks
@jsdevtools/readdir-enhanced
fs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.
2.5k---6 years ago
6.0.4
CommonJSBundledPromises and async control flow, Files and file systems
file-exists-promise
fs.exists with ES6 Promise that is not deprecated
2.5k+1%-10 years ago
1.0.2
CommonJSNoneFiles and file systems, Promises and async control flow
p-one
Test whether some promise passes a testing function
2.5k+8%-7 years ago
2.0.0
-NonePromises and async control flow, Testing
v-debounce
Input debounce directive for Vue.js
2.5k-12%-4 years ago
0.2.0
CommonJSNoneVue, Promises and async control flow
p-forever
Run promise-returning & async functions repeatedly until you end it
2.5k+29%-7 months ago
4.0.0
ESM onlyBundledPromises and async control flow
qwest
Ajax library with XHR2, promises and request limit
2.5k+50%-9 years ago
4.5.0
CommonJSNonePromises and async control flow, HTTP clients
babel-plugin-fast-async
fast-async/await transformer Babel plugin
2.5k-49%-9 years ago
6.1.2
CommonJSNonePromises and async control flow
tangerine
Tangerine is the best Node.js drop-in replacement for dns.promises.Resolver using DNS over HTTPS ("DoH") via undici with built-in retries, timeouts, smart server rotation, AbortControllers, and caching support for multiple backends (with TTL and purge sup
2.4k+162%-6 months ago
2.1.3
CommonJSBundledCaching, Email
p-do-whilst
Calls a function repeatedly while a condition returns true and then resolves the promise
2.4k+6%-2 years ago
2.1.0
ESM onlyBundledPromises and async control flow
async-kit
A simple and powerful async abstraction lib for easily writing Node.js code.
2.3k-7%-8 years ago
2.2.4
CommonJSNonePromises and async control flow
@freik/p-limit
Run multiple promise-returning & async functions with limited concurrency
2.3k---4 years ago
5.0.0
ESM + CommonJSBundledPromises and async control flow
npm-utils
Async NPM shell commands
2.3k-31%-8 years ago
2.0.3
CommonJSNonePromises and async control flow
child-process-async
The best way to override Node's child_process module w/ Promises
2.2k+80%-9 years ago
1.0.1
CommonJSNonePromises and async control flow
js-promisify
A simple utility to convert NodeJS async functions to native JS promises.
2.2k+113%-8 years ago
1.3.1
CommonJSNonePromises and async control flow
es6-promises
ES6 Promise polyfill
2.2k+123%-11 years ago
1.0.10
CommonJSNonePromises and async control flow, Polyfills and shims
requisition
ES7 async/await ready http client
2.2k-29%-10 years ago
1.7.0
CommonJSNoneHTTP clients, Promises and async control flow
@unthrown/prisma
Prisma Client extension for unthrown: try-prefixed query methods returning AsyncResult, with per-operation tagged errors
2.1k---1 month ago
0.4.0
ESM + CommonJSBundledPromises and async control flow, ORMs and query builders
volleyball
🏐 Tiny HTTP logger for Express showing asynchronous requests and responses
2.1k+61%-8 years ago
1.5.1
CommonJSNoneLogging, Promises and async control flow
rxjs-websockets
rxjs 7 websockets library
2.1k-20%-5 years ago
9.0.0
ESM + CommonJSBundledWebSockets and realtime, Promises and async control flow
async-map-like
ES6 Map TypeScript Interface with Async Support
2.1k+45%-4 years ago
1.0.2
ESM + CommonJSBundledPromises and async control flow, TypeScript tooling
nanodelay
A tiny (25 bytes) Promise wrapper around setTimeout
2.1k+96%-4 years ago
2.0.2
ESM onlyBundledPromises and async control flow
async-busboy
Promise based multipart form parser
2.1k-12%-5 years ago
1.1.0
CommonJSNonePromises and async control flow
nyks
nodejs exupery style
2.1k+7%-1 year ago
6.15.1
CommonJSNonePromises and async control flow
es6-promise-try
Promise.try shim for ES6 Promises
2k-33%-10 years ago
1.0.2
CommonJSNonePolyfills and shims, 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.

  • koa-better-error-handlerA better error-handler for Lad and Koa. Makes `ctx.throw` awesome (best used with koa-404-handler)
  • qyuA general-purpose asynchronous job queue for Node.js
  • zip-folder-promiseUse archiver to zip a folder using promises instead of callbacks
  • is-symbolic-linkIndicates if path is symbolic link
  • makepromiseMake a Promise from a function with a callback and preserve its error stack.
  • promise-fn-retryA tiny, typed, isomorphic retry with exponential backoff, jitter and AbortSignal for failed promises
  • @mintplex-labs/breeA fork of BreeJS/bree. A Node.js and JavaScript task scheduler with cron, dates, ms, later, and human-friendly support. Works in Node v12.17.0+, uses worker threads or process forks, and supports async/await, retries, throttling, concurrency, and cancela
  • paramap-itParallel mapping for async iterators
  • post-meUse web Workers and other Windows through a simple Promise API
  • gulp-stream-to-promiseConvert gulp stream to promise.
  • aurelia-storeAurelia single state store based on RxJS
  • one-eventListen to one event via `addEventListener`, then resolve a Promise
  • state-switchState Switch is a Change Monitor/Guarder for Async Actions.
  • awaitingThe async/await utility for browsers and Node.js.
  • async-iterator-to-pull-streamConvert a (async) iterator to a pull stream
  • noice-json-rpcNoice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers
  • pull-stream-to-async-iteratorConvert a pull stream to an async iterator
  • xaaasync/await/Promise helpers - delay, defer, timeout, each, map, filter
  • squirrelingSquirreling Async SQL Engine
  • ts-async-semaphoreA counting semaphore for node based on Java's Sempahore.
  • @leapfrogtechnology/async-storeGlobal store utility for an async operation lifecycle and chain of callbacks
  • @esm2cjs/form-data-encoderEncode FormData content into the multipart/form-data format. This is a fork of octet-stream/form-data-encoder, but with CommonJS support.
  • aveazulBluebird drop-in replacement built on native Promise
  • @esm2cjs/p-cancelableCreate a promise that can be canceled. This is a fork of sindresorhus/p-cancelable, but with CommonJS support.
  • p-try-eachRuns promise-returning functions in series but stops whenever any of the functions were successful
  • nextjsThe fastest async handler in node.js
  • @jsdevtools/readdir-enhancedfs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.
  • file-exists-promisefs.exists with ES6 Promise that is not deprecated
  • p-oneTest whether some promise passes a testing function
  • v-debounceInput debounce directive for Vue.js
  • p-foreverRun promise-returning & async functions repeatedly until you end it
  • qwestAjax library with XHR2, promises and request limit
  • babel-plugin-fast-asyncfast-async/await transformer Babel plugin
  • tangerineTangerine is the best Node.js drop-in replacement for dns.promises.Resolver using DNS over HTTPS ("DoH") via undici with built-in retries, timeouts, smart server rotation, AbortControllers, and caching support for multiple backends (with TTL and purge sup
  • p-do-whilstCalls a function repeatedly while a condition returns true and then resolves the promise
  • async-kitA simple and powerful async abstraction lib for easily writing Node.js code.
  • @freik/p-limitRun multiple promise-returning & async functions with limited concurrency
  • npm-utilsAsync NPM shell commands
  • child-process-asyncThe best way to override Node's child_process module w/ Promises
  • js-promisifyA simple utility to convert NodeJS async functions to native JS promises.
  • es6-promisesES6 Promise polyfill
  • requisitionES7 async/await ready http client
  • @unthrown/prismaPrisma Client extension for unthrown: try-prefixed query methods returning AsyncResult, with per-operation tagged errors
  • volleyball🏐 Tiny HTTP logger for Express showing asynchronous requests and responses
  • rxjs-websocketsrxjs 7 websockets library
  • async-map-likeES6 Map TypeScript Interface with Async Support
  • nanodelayA tiny (25 bytes) Promise wrapper around setTimeout
  • async-busboyPromise based multipart form parser
  • nyksnodejs exupery style
  • es6-promise-tryPromise.try shim for ES6 Promises