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
pinkie
Itty bitty little widdle twinkie pinkie ES2015 Promise implementation
11.8m-8%-10 years ago
2.0.4
-NonePromises and async control flow
regenerator-transform
Explode async and generator functions into a state machine.
11.5m-31%-3 years ago
0.15.2
CommonJSNonePromises and async control flow, Polyfills and shims
call-me-maybe
Let your JS API users either give you a callback or receive a promise
11.1m+39%-3 years ago
1.0.2
CommonJSNonePromises and async control flow
p-defer
Create a deferred promise
11m+56%-2 years ago
4.0.1
ESM onlyBundledPromises and async control flow
thingies
Useful TypeScript utilities.
10.8m+98%-2 months ago
2.6.1
CommonJSBundledPromises and async control flow, Caching
until-async
Gracefully handle a Promise using async/await.
10.6m+926%-1 year ago
3.0.2
ESM onlyBundledPromises and async control flow
async-limiter
asynchronous function queue with adjustable concurrency
9.9m+7%-6 years ago
2.0.0
-NonePromises and async control flow
p-event
Promisify an event by waiting for it to be emitted
9.5m+71%-10 days ago
7.1.1
ESM onlyBundledPromises and async control flow
async-listen
`net.Server#listen()` helper that returns a Promise for async / await
9.3m+252%-1 year ago
3.1.0
CommonJSBundledPromises and async control flow
hard-rejection
Make unhandled promise rejections fail hard right away instead of the default silent fail
9.2m+12%-7 years ago
2.1.0
-NonePromises and async control flow
avvio
Asynchronous bootstrapping of Node applications
9.2m+268%-2 months ago
9.3.0
CommonJSBundledPromises and async control flow
async-mutex
A mutex for guarding async workflows
8.8m+145%-2 years ago
0.5.0
ESM + CommonJSBundledPromises and async control flow
async-lock
Lock on asynchronous code
8.6m+222%-2 years ago
1.4.1
-NonePromises and async control flow
@expo/spawn-async
A Promise-based interface into processes created by child_process.spawn
8m+318%-4 months ago
1.8.0
CommonJSBundledNode.js utilities, Promises and async control flow
async-sema
Semaphore using `async` and `await`
7.1m+200%-5 years ago
3.1.1
CommonJSNonePromises and async control flow
stream-chain
Chain functions, generators, Node streams, and Web streams into a pipeline with backpressure support.
7.1m+187%-3 months ago
4.2.5
ESM onlyBundledPromises and async control flow
p-is-promise
Check if something is a promise
7m+8%-5 years ago
4.0.0
ESM onlyNonePromises and async control flow
async-each
No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.
6.8m-17%-3 years ago
1.0.6
CommonJSNonePromises and async control flow
p-filter
Filter promises concurrently
6.7m+52%-2 years ago
4.1.0
ESM onlyBundledPromises and async control flow
@gar/promise-retry
Retries a function that returns a promise, leveraging the power of the retry module.
6.6m--6 months ago
1.0.3
CommonJSBundledPromises and async control flow
p-reduce
Reduce a list of values using promises into a promise for a value
6.1m-3%-5 years ago
3.0.0
ESM onlyNonePromises and async control flow
es6-promisify
Converts callback-based functions to ES6 Promises
5.6m+41%-5 years ago
7.0.0
ESM + CommonJSNonePromises and async control flow
tmp-promise
The tmp package with promises support and disposers.
5.4m+137%-4 years ago
3.0.3
CommonJSBundledPromises and async control flow
rsvp
A lightweight library that provides tools for organizing asynchronous code
5.4m-18%-7 years ago
4.8.5
ESM + CommonJSNonePromises and async control flow
p-each-series
Iterate over promises serially
4.9m-6%-5 years ago
3.0.0
ESM onlyNonePromises and async control flow
async-exit-hook
Run some code when the process exits (supports async hooks and pm2 clustering)
4.9m+183%-9 years ago
2.0.1
-NonePromises and async control flow, Node.js utilities
delay
Delay a promise a specified amount of time
4.9m+12%-10 months ago
7.0.0
ESM onlyBundledPromises and async control flow
eslint-plugin-promise
Enforce best practices for JavaScript promises
4.8m-4%-4 months ago
7.3.0
CommonJSNoneLinting and formatting, Promises and async control flow
currently-unhandled
Track the list of currently unhandled promise rejections.
4.7m-7%-10 years ago
0.4.1
CommonJSNonePromises and async control flow
make-asynchronous
Make a synchronous function asynchronous by running it in a worker
4.7m+11057596%-3 months ago
2.0.0
ESM onlyBundledPromises and async control flow
make-cancellable-promise
Make any Promise cancellable.
4.7m+213%-1 year ago
2.0.0
ESM onlyBundledPromises and async control flow
bfj
Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.
4.6m-7%-7 months ago
9.1.3
CommonJSNonePromises and async control flow, Parsers and serialisers
loud-rejection
Make unhandled promise rejections fail loudly instead of the default silent fail
4.5m-9%-6 years ago
2.2.0
-NonePromises and async control flow
request-promise-core
Core Promise support implementation for the simplified HTTP request client 'request'.
4.3m-13%-6 years ago
1.1.4
CommonJSNoneHTTP clients, Promises and async control flow
tiny-async-pool
Run multiple promise-returning & async functions with limited concurrency using native ES9
4.3m+123%-4 years ago
2.1.0
CommonJSNonePromises and async control flow
write
Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.
4.2m-20%-7 years ago
2.0.0
CommonJSNoneFiles and file systems, Promises and async control flow
p-throttle
Throttle promise-returning & async functions
3.9m+94%-12 days ago
8.1.1
ESM onlyBundledPromises and async control flow
promise-polyfill
Lightweight promise polyfill. A+ compliant
3.8m+23%-3 years ago
8.3.0
ESM + CommonJSNonePolyfills and shims, Promises and async control flow
into-stream
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
3.8m+1%-7 months ago
9.1.0
ESM onlyBundledPromises and async control flow
promise-limit
limits calls to functions that return promises
3.6m+325%-8 years ago
2.7.0
CommonJSNonePromises and async control flow
request-promise-native
The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.
3.5m-17%-6 years ago
1.0.9
CommonJSNoneHTTP clients, Promises and async control flow
promise-worker-transferable
Communicate with a Web Worker using Promises, allowing transferList
3.1m+381%-10 years ago
1.0.4
CommonJSNonePromises and async control flow
@mrmlnc/readdir-enhanced
fs.readdir with sync, async, and streaming APIs + filtering, recursion, absolute paths, etc.
3m-3%-8 years ago
2.2.1
CommonJSBundledFiles and file systems, Promises and async control flow
micro
Asynchronous HTTP microservices
2.9m+173%-3 years ago
10.0.1
CommonJSBundledPromises and async control flow
async-generator-function
A function that returns the normally hidden `AsyncGeneratorFunction` constructor
2.8m+131%-1 year ago
1.0.0
ESM + CommonJSNonePromises and async control flow
spawndamnit
Take care of your `spawn()`
2.8m+113%-1 year ago
3.0.1
CommonJSNonePromises and async control flow, Node.js utilities
jstransformer
Normalize the API of any jstransformer
2.8m+77%-10 years ago
1.0.0
-NoneMarkdown, Promises and async control flow
stream-to-promise
Convert streams (readable or writable) to promises
2.7m+179%-6 years ago
3.0.0
CommonJSNonePromises and async control flow
node-ensure
Async module-loading library and protocol for bundlers/loaders targeting isomorphic apps and Node.js.
2.6m+90%-11 years ago
0.0.0
CommonJSNonePromises and async control flow
promisepipe
Pipe node.js streams safely with Promises
2.6m+216%-8 years ago
3.0.0
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.

  • pinkieItty bitty little widdle twinkie pinkie ES2015 Promise implementation
  • regenerator-transformExplode async and generator functions into a state machine.
  • call-me-maybeLet your JS API users either give you a callback or receive a promise
  • p-deferCreate a deferred promise
  • thingiesUseful TypeScript utilities.
  • until-asyncGracefully handle a Promise using async/await.
  • async-limiterasynchronous function queue with adjustable concurrency
  • p-eventPromisify an event by waiting for it to be emitted
  • async-listen`net.Server#listen()` helper that returns a Promise for async / await
  • hard-rejectionMake unhandled promise rejections fail hard right away instead of the default silent fail
  • avvioAsynchronous bootstrapping of Node applications
  • async-mutexA mutex for guarding async workflows
  • async-lockLock on asynchronous code
  • @expo/spawn-asyncA Promise-based interface into processes created by child_process.spawn
  • async-semaSemaphore using `async` and `await`
  • stream-chainChain functions, generators, Node streams, and Web streams into a pipeline with backpressure support.
  • p-is-promiseCheck if something is a promise
  • async-eachNo-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.
  • p-filterFilter promises concurrently
  • @gar/promise-retryRetries a function that returns a promise, leveraging the power of the retry module.
  • p-reduceReduce a list of values using promises into a promise for a value
  • es6-promisifyConverts callback-based functions to ES6 Promises
  • tmp-promiseThe tmp package with promises support and disposers.
  • rsvpA lightweight library that provides tools for organizing asynchronous code
  • p-each-seriesIterate over promises serially
  • async-exit-hookRun some code when the process exits (supports async hooks and pm2 clustering)
  • delayDelay a promise a specified amount of time
  • eslint-plugin-promiseEnforce best practices for JavaScript promises
  • currently-unhandledTrack the list of currently unhandled promise rejections.
  • make-asynchronousMake a synchronous function asynchronous by running it in a worker
  • make-cancellable-promiseMake any Promise cancellable.
  • bfjBig-friendly JSON. Asynchronous streaming functions for large JSON data sets.
  • loud-rejectionMake unhandled promise rejections fail loudly instead of the default silent fail
  • request-promise-coreCore Promise support implementation for the simplified HTTP request client 'request'.
  • tiny-async-poolRun multiple promise-returning & async functions with limited concurrency using native ES9
  • writeWrite data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.
  • p-throttleThrottle promise-returning & async functions
  • promise-polyfillLightweight promise polyfill. A+ compliant
  • into-streamConvert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
  • promise-limitlimits calls to functions that return promises
  • request-promise-nativeThe simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.
  • promise-worker-transferableCommunicate with a Web Worker using Promises, allowing transferList
  • @mrmlnc/readdir-enhancedfs.readdir with sync, async, and streaming APIs + filtering, recursion, absolute paths, etc.
  • microAsynchronous HTTP microservices
  • async-generator-functionA function that returns the normally hidden `AsyncGeneratorFunction` constructor
  • spawndamnitTake care of your `spawn()`
  • jstransformerNormalize the API of any jstransformer
  • stream-to-promiseConvert streams (readable or writable) to promises
  • node-ensureAsync module-loading library and protocol for bundlers/loaders targeting isomorphic apps and Node.js.
  • promisepipePipe node.js streams safely with Promises