Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Node.js
  3. p-map

p-map

MITJavaScriptv7.1.1

Map over promises concurrently with configurable concurrency, error handling, and abort control.

GitHubGitHub
1.5k stars87 forks0 contributors

What is p-map?

p-map is a JavaScript utility library that allows developers to map over promises or async functions concurrently with configurable concurrency limits. It solves the problem of running multiple promise-based operations in parallel while maintaining control over resource usage and error behavior, offering more flexibility than native `Promise.all()`.

Target Audience

Node.js and JavaScript developers who need to execute multiple asynchronous operations in parallel with precise control over concurrency, error handling, and cancellation.

Value Proposition

Developers choose p-map over native alternatives because it provides essential concurrency controls like limiting parallel executions, customizable error handling (stop-on-error vs. collect-all-errors), abort capabilities via AbortController, and streaming iterable support—all in a lightweight, focused package.

Overview

Map over promises concurrently

Use Cases

Best For

  • Limiting concurrent API calls to avoid rate limiting
  • Processing large datasets with async operations without overwhelming system resources
  • Implementing robust error handling in batch async operations
  • Creating streaming data pipelines with backpressure control
  • Adding cancellation support to concurrent promise-based workflows
  • Building async iterators that process items concurrently

Quick Stats

Stars1,517
Forks87
Contributors0
Open Issues0
Last commit12 days ago
CreatedSince 2016

Tags

#concurrency-control#async-await#mapper#async#async-functions#promise-utilities#promises#nodejs#javascript-library#error-handling#async-iteration#javascript#concurrency#iterables#promise#parallel#performance

Built With

J
JavaScript
N
Node.js

Included in

Node.js65.5kPromises1.7k
Auto-fetched 1 day ago

Related Projects

More…More…

Promise packages, patterns, chat, and tutorials

Stars5,176
Forks138
Last commit2 years ago
p-queuep-queue

Promise queue with concurrency control

Stars4,298
Forks227
Last commit6 days ago
Highland.jsHighland.js

High-level streams library for Node.js and the browser

Stars3,422
Forks145
Last commit6 years ago
p-limitp-limit

Run multiple promise-returning & async functions with limited concurrency

Stars2,934
Forks146
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub