P-map
Promise-based map for Node.js that runs an async function over an array with a configurable concurrency limit, returning resolved results in original order, used to batch API calls or file operations without overwhelming the target.
p-map at github.com/sindresorhus/p-map is a free MIT promise-based concurrent array mapper for Node.js, npm p-map 7.1.1 Node.js >= 18, runs an async function over an array with a configurable concurrency limit and returns results in original order for batched API calls or file operations, no sold commercial tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is P-map free?
P-map: p-map is free open-source software released under the MIT License; the p-map package latest 7.1.1 on npm requires Node.js >= 18. It maps an array through an async function with a concurrency cap, keeping resolved results in the original order, so batches of API calls, file reads or uploads run in controlled parallelism instead of one at a time or all at once. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is P-map free?
The code is free to self-host, but a hosted plan from the vendor may not be. P-map publishes its source, so cost depends on where you run it.
How much does P-map cost?
p-map is free open-source software released under the MIT License; the p-map package latest 7.1.1 on npm requires Node.js >= 18. It maps an array through an async function with a concurrency cap, keeping resolved results in the original order, so batches of API calls, file reads or uploads run in controlled parallelism instead of one at a time or all at once. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check P-map's current pricing?
On P-map's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is p-map?
An input array and an async mapper function are supplied along with a concurrency option; p-map starts only that many promises at once, waits for slots to free up, and collects each resolved value at its original index, so a large batch stays ordered without a hand-rolled queue.
How does pricing work?
The library installs free under MIT with no seat license; it runs in-process against promises you create, and commercial support would be outside the open-source project.
How does P-map compare with other tools in Dev Workflow & Productivity?
P-map is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| P-map | Open source | p-map is free open-source software released under the MIT License; the p-map package latest 7.1.1 on npm requires Node.js >= 18. It maps an array through an async function with a concurrency cap, keeping resolved results in the original order, so batches of API calls, file reads or uploads run in controlled parallelism instead of one at a time or all at once. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| P-limit | Open source | p-limit is free open-source software released under the MIT License; the p-limit package latest 7.3.3 on npm requires Node.js >= 20. It wraps an async function so at most a chosen number of tasks run concurrently, exposing the active task count and pending queue, which keeps parallel requests, crawlers or workers from exhausting rate limits or file descriptors. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| P-all | Open source | p-all is free open-source software released under the MIT License; the p-all package latest 5.0.1 on npm requires Node.js >= 16. It maps an array through an async function with a concurrency cap and resolves only after every task settles, rejecting early on the first failure like Promise.all, which suits batches that must all succeed together. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
P-map's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: p-map is free open-source software released under the MIT License; the p-map package latest 7.1.1 on npm requires Node.js >= 18. It maps an array through an async function with a concurrency cap, keeping resolved results in the original order, so batches of API calls, file reads or uploads run in controlled parallelism instead of one at a time or all at once. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
P-limit
Concurrency limiter for promises in JavaScript that wraps a function so no more than a chosen number of tasks run at the same time, returning a throttled function with active count and queue inspection, used to bound parallel requests and workers.
P-all
Promise all helper for JavaScript that maps an array of values through an async function with a concurrency limit and resolves once every task completes, combining the ordering of p-map with the all-or-nothing settlement of Promise.all.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
