{"adoption": {"forks": 76, "observed_at": "2026-08-28T04:04:55.839775+00:00", "stars": 1510}, "canonical_url": "https://ross.abutalabs.com/products/p-map", "card": {"archived": false, "artifact_type": "library", "description": "Map over promises concurrently", "domain": ["developer-tools", "web-development", "backend"], "enriched": true, "function": ["concurrency", "http-client"], "health_score": 96, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["sindresorhus/p-map"], "name": "sindresorhus/p-map", "platform": [], "pushed_at": "2026-07-20T21:21:12+00:00", "repo": "sindresorhus/p-map", "stars": 1510, "tags": ["promise", "async-await", "parallel-processing", "async-iterable", "backpressure", "nodejs", "javascript"], "topics": ["promise", "async-functions", "concurrency", "mapper", "nodejs", "javascript", "parallel", "promises", "async", "async-await", "await", "iteration"], "urls": [], "use_cases": ["run async functions over a list with limited concurrency", "fetch many URLs in parallel without overwhelming the server", "control how many promises run at once instead of Promise.all", "stop iteration early when a task fails", "stream mapper results as an async iterable with backpressure"], "what_it_is": "p-map is a small Node.js/JavaScript library for mapping over iterables with promise-returning or async mapper functions concurrently, with controllable concurrency limits. It also provides an async iterable variant with backpressure support for streaming consumption.", "when_to_avoid": ["you just need Promise.all with no concurrency limit", "you're not in a JavaScript/Node.js environment", "you need worker-thread or multi-process parallelism for CPU-bound tasks"], "when_to_choose": ["you need bounded concurrency for promise-based work in Node.js", "you want results in input order with error control", "you need backpressure when consuming results slower than they're produced"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/p-map", "repo": "sindresorhus/p-map", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:55.839775+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:32:27.685965+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90bc269cbb172f5fb8d9e0594b436d0f1aaa82f3df53fc1631ab9e1bdfc73e9e", "fetched_at": "2026-08-28T04:04:55.839775+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-map"}, {"content_hash": "fbd8e5c3b96d058ae0fe196b48a8fae593e34e2065148534fa0ee8502a5fc302", "fetched_at": "2026-08-29T11:36:40.764980+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-map"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 93, "longevity": 100, "rhythm": 61}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3603, "days_push": 44, "days_rel": 44, "gap_med": 230, "n_releases_24m": 4}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}