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
native-or-another
Guaranteed way for getting a Promise. Always native Promise if available, otherwise looks for common promise libraries and loads which is installed. Allows registering custom Promise implementation in node < 0.12 versions
8.2k+3%-9 years ago
5.0.1
CommonJSNonePromises and async control flow
vue-concurrency
A library for encapsulating asynchronous operations and managing concurrency for Vue + Composition API
8.2k+41%-8 months ago
6.0.0-0
ESM + CommonJSBundledPromises and async control flow, Vue
wrap-promise
Like new Promise(), but prevents implicit rejection
7.7k+5%-11 years ago
1.0.1
CommonJSNonePromises and async control flow
async-reduce
`reduce` function for async reductions on arrays.
7.7k-9%-13 years ago
0.0.1
-NonePromises and async control flow
async-event-emitter2
Just like EventEmitter, but with support for callbacks and interruption of the listener-chain
7.7k+690%-1 year ago
0.0.2
ESM + CommonJSBundledPromises and async control flow
nedb-promises
A dead-simple promise wrapper for nedb.
7.7k+48%-1 month ago
6.2.4
CommonJSBundledPromises and async control flow
fs-extra-promise
Node file system library and fs-extra module promisified with bluebird
7.6k-28%-9 years ago
1.0.1
CommonJSNoneFiles and file systems, Promises and async control flow
twinop
Derive parallel sync + async APIs from one shared generator body.
7.6k--1 month ago
1.0.0
ESM onlyBundledPromises and async control flow
promises-all
Track down promise states of all promise functions executing in parallel. Similar to promise.all function, but it rejects the complete promise.all() even if any one of the promise fails, where as promises-all npm will indiviudally return you the states.
7.6k+247%-9 years ago
1.0.0
CommonJSNonePromises and async control flow
@n8n/p-retry
Retry a promise-returning or async function
7.4k---2 years ago
6.2.0-2
CommonJSBundledPromises and async control flow
p-min-delay
Delay a promise a minimum amount of time
7.4k-12%-11 months ago
4.2.0
ESM onlyBundledPromises and async control flow
@prelude/channel
Go-style channels for async code: buffered or unbuffered, async-iterable, with select over reads and writes.
7.4k---1 month ago
2.0.1
ESM onlyBundledPromises and async control flow
@iplab/ngx-file-upload
Angular file upload components with support for native file selection, drag and drop, Angular forms, validation, custom templates and CSS custom property theming.
7.3k---1 month ago
22.1.0
ESM onlyBundledAngular, TypeScript tooling
axios-https-proxy-fix
Promise based HTTP client for the browser and node.js
7.3k-36%-8 years ago
0.17.1
CommonJSBundledPromises and async control flow
p-whilst
While a condition returns true, calls a function repeatedly, and then resolves the promise
7.2k+5%-1 year ago
3.2.0
ESM onlyBundledPromises and async control flow
@remix-run/async-context-middleware
Middleware for storing request context in AsyncLocalStorage
7.1k---6 days ago
0.3.7
ESM onlyBundledPromises and async control flow
blue-tape
Tape test runner with promise support
7.1k-88%-10 years ago
1.0.0
CommonJSNonePromises and async control flow, Testing
await-spawn
> `child_process.spawn()` wrapped in a `Promise` for doing async/await.
6.9k-6%-5 years ago
4.0.2
CommonJSNonePromises and async control flow
promise-status-async
Promise status management tool
6.9k+81%-4 years ago
1.2.10
CommonJSBundledTypeScript tooling, Promises and async control flow
axios-jsonp-pro
Promise based HTTP client for the browser and node.js
6.9k+27%-6 years ago
1.1.8
CommonJSBundledHTTP clients, Promises and async control flow
yargs-promise
Use the headless yargs parser with promises
6.9k+173%-9 years ago
1.1.0
CommonJSNonePromises and async control flow, CLI tools and terminal utilities
redux-logic
Redux middleware for organizing all your business logic. Intercept actions and perform async processing.
6.6k+64%-1 year ago
5.0.2
ESM + CommonJSBundledPromises and async control flow
await-on
really simple error handling with await/async
6.4k+3310%-7 years ago
0.1.4
CommonJSNonePromises and async control flow
async-lz-string
LZ-based compression algorithm
6.4k+38%-3 years ago
1.1.0
CommonJSBundledCompression and archives, Promises and async control flow
cfn-response-promise
wrap cfn-response in promise to support await/async style lambda in cloudformation custom resource
6.4k+45%--
1.1.0
CommonJSNonePromises and async control flow, Cloud SDKs
async-cleanup
Asynchronous process cleanup for Node.js and Typescript
6.3k+103%-4 years ago
1.0.0
CommonJSBundledPromises and async control flow
superagent-throttle
A plugin for superagent that throttles requests.
6.3k-32%-7 years ago
1.0.1
CommonJSNonePromises and async control flow, HTTP clients
move-on
Creates a queue of sync or async functions with resolve and reject callback.
6.3k-31%-6 years ago
2.1.9
CommonJSNonePromises and async control flow
concurrent
Promises/A+ with Scala awesomeness
6.2k+11%-13 years ago
0.3.2
CommonJSNonePromises and async control flow
concurrify
Turn non-concurrent FantasyLand Applicatives concurrent
6.2k-47%-6 years ago
2.0.0
CommonJSNonePromises and async control flow
miniq
Yet another tiny async control flow library, implements parallelLimit, with the ability to share the concurrency-limited queue.
6.2k-21%-10 years ago
1.0.1
CommonJSNonePromises and async control flow
@henrygd/semaphore
Fast inline semaphores and mutexes
6.2k---1 year ago
0.1.0
ESM + CommonJSBundledPromises and async control flow
@endo/stream
Foundation for async iterators as streams
6k---5 months ago
1.3.1
ESM onlyBundledPromises and async control flow, Security
async-parallel
Async enabled each(), map(), filter() functions that work just like their standard counterparts, but can be used with async/await and also provide concurrency limiting. Includes built-in typings and JSDoc comments for IntelliSense documentation.
5.7k+23%-9 years ago
1.2.3
CommonJSNonePromises and async control flow, TypeScript tooling
make-synchronous
Make an asynchronous function synchronous
5.7k-86%-7 months ago
2.1.0
ESM onlyBundledPromises and async control flow
@ronomon/queue
Process thousands of asynchronous or synchronous jobs, concurrently or sequentially, safely and efficiently, without creating thousands of closures.
5.7k---7 years ago
3.0.1
CommonJSNonePromises and async control flow
gatsby-omni-font-loader
Font loader optimized for maximum performance. Removes render-blocking font resources and loads them asynchronusly. Handle FOUT & FOUC with font loading status watcher. Supports both local-hosted fonts and web fonts.
5.6k-3%-4 years ago
2.0.2
-NonePromises and async control flow, React
p-state
Inspect the state of a promise
5.6k+248%-1 year ago
3.0.0
ESM onlyBundledPromises and async control flow
await-sleep
Blocking sleep/delay with async/await
5.5k-8%-9 years ago
0.0.1
CommonJSNonePromises and async control flow
p-async-cache
Cache the promise lookups and avoid fetching the same thing more than necessary
5.3k-17%-8 years ago
1.0.3
CommonJSNonePromises and async control flow, Caching
cancellationtoken
A composable token for cancelling asynchronous operations.
5.3k+74%-5 years ago
2.2.0
CommonJSBundledPromises and async control flow
pending-queue
pending-queue ensures a certain asynchronous method only run once, and queues listeners which are registered to it.
5.3k-19%-8 years ago
1.2.1
CommonJSNonePromises and async control flow, Queues and background jobs
callbackify
backwards compatibilify your callback functions while migrating apis to promises
5.3k+66%-11 years ago
1.1.0
CommonJSNonePromises and async control flow
pinkyswear
Minimalistic Promises/A+ implementation, <500 bytes
5.2k+491%-9 years ago
2.2.3
CommonJSNonePromises and async control flow
eas
Embedded Async Simple Javascript templating
5.1k+10%-9 years ago
0.1.0
CommonJSNonePromises and async control flow, Templating
cron-async
Execute something on a schedule, using cron syntax, with async/await support.
5k+3150%-3 months ago
1.2.1
CommonJSBundledPromises and async control flow, Date and time
promise-extended
Promises implementation with chainable API
5k-24%-12 years ago
0.0.9
CommonJSNonePromises and async control flow
async-await-parallel
Concurrency control for awaiting an array of async results
4.9k-3%-9 years ago
1.0.0
CommonJSNonePromises and async control flow
type-async-value
type AsyncValue<T> = Promise<T> | T
4.8k-21%-6 years ago
1.0.4
CommonJSBundledTypeScript tooling, Promises and async control flow
axios-proxy-fix
Promise based HTTP client for the browser and node.js
4.8k-1%-8 years ago
0.16.3
CommonJSBundledPromises 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.

  • native-or-anotherGuaranteed way for getting a Promise. Always native Promise if available, otherwise looks for common promise libraries and loads which is installed. Allows registering custom Promise implementation in node < 0.12 versions
  • vue-concurrencyA library for encapsulating asynchronous operations and managing concurrency for Vue + Composition API
  • wrap-promiseLike new Promise(), but prevents implicit rejection
  • async-reduce`reduce` function for async reductions on arrays.
  • async-event-emitter2Just like EventEmitter, but with support for callbacks and interruption of the listener-chain
  • nedb-promisesA dead-simple promise wrapper for nedb.
  • fs-extra-promiseNode file system library and fs-extra module promisified with bluebird
  • twinopDerive parallel sync + async APIs from one shared generator body.
  • promises-allTrack down promise states of all promise functions executing in parallel. Similar to promise.all function, but it rejects the complete promise.all() even if any one of the promise fails, where as promises-all npm will indiviudally return you the states.
  • @n8n/p-retryRetry a promise-returning or async function
  • p-min-delayDelay a promise a minimum amount of time
  • @prelude/channelGo-style channels for async code: buffered or unbuffered, async-iterable, with select over reads and writes.
  • @iplab/ngx-file-uploadAngular file upload components with support for native file selection, drag and drop, Angular forms, validation, custom templates and CSS custom property theming.
  • axios-https-proxy-fixPromise based HTTP client for the browser and node.js
  • p-whilstWhile a condition returns true, calls a function repeatedly, and then resolves the promise
  • @remix-run/async-context-middlewareMiddleware for storing request context in AsyncLocalStorage
  • blue-tapeTape test runner with promise support
  • await-spawn> `child_process.spawn()` wrapped in a `Promise` for doing async/await.
  • promise-status-asyncPromise status management tool
  • axios-jsonp-proPromise based HTTP client for the browser and node.js
  • yargs-promiseUse the headless yargs parser with promises
  • redux-logicRedux middleware for organizing all your business logic. Intercept actions and perform async processing.
  • await-onreally simple error handling with await/async
  • async-lz-stringLZ-based compression algorithm
  • cfn-response-promisewrap cfn-response in promise to support await/async style lambda in cloudformation custom resource
  • async-cleanupAsynchronous process cleanup for Node.js and Typescript
  • superagent-throttleA plugin for superagent that throttles requests.
  • move-onCreates a queue of sync or async functions with resolve and reject callback.
  • concurrentPromises/A+ with Scala awesomeness
  • concurrifyTurn non-concurrent FantasyLand Applicatives concurrent
  • miniqYet another tiny async control flow library, implements parallelLimit, with the ability to share the concurrency-limited queue.
  • @henrygd/semaphoreFast inline semaphores and mutexes
  • @endo/streamFoundation for async iterators as streams
  • async-parallelAsync enabled each(), map(), filter() functions that work just like their standard counterparts, but can be used with async/await and also provide concurrency limiting. Includes built-in typings and JSDoc comments for IntelliSense documentation.
  • make-synchronousMake an asynchronous function synchronous
  • @ronomon/queueProcess thousands of asynchronous or synchronous jobs, concurrently or sequentially, safely and efficiently, without creating thousands of closures.
  • gatsby-omni-font-loaderFont loader optimized for maximum performance. Removes render-blocking font resources and loads them asynchronusly. Handle FOUT & FOUC with font loading status watcher. Supports both local-hosted fonts and web fonts.
  • p-stateInspect the state of a promise
  • await-sleepBlocking sleep/delay with async/await
  • p-async-cacheCache the promise lookups and avoid fetching the same thing more than necessary
  • cancellationtokenA composable token for cancelling asynchronous operations.
  • pending-queuepending-queue ensures a certain asynchronous method only run once, and queues listeners which are registered to it.
  • callbackifybackwards compatibilify your callback functions while migrating apis to promises
  • pinkyswearMinimalistic Promises/A+ implementation, <500 bytes
  • easEmbedded Async Simple Javascript templating
  • cron-asyncExecute something on a schedule, using cron syntax, with async/await support.
  • promise-extendedPromises implementation with chainable API
  • async-await-parallelConcurrency control for awaiting an array of async results
  • type-async-valuetype AsyncValue<T> = Promise<T> | T
  • axios-proxy-fixPromise based HTTP client for the browser and node.js