sindresorhus/p-queue
Promise queue with concurrency control observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 93
- Release rhythm 94
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 23
- age_days: 3596
- days_rel: 42
- days_push: 42
- n_releases_24m: 12
Adoption not part of the score
4265 stars · 220 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
p-queue is a TypeScript promise queue library for Node.js that provides concurrency control for async or sync operations. It lets you rate-limit tasks with configurable concurrency, timeouts, priorities, and pause/resume behavior.
Use cases
- rate-limit requests to a REST API
- run async tasks with a concurrency limit
- throttle CPU or memory intensive operations
- queue background jobs in a Node.js app
- prioritize certain async tasks over others
- add timeouts to queued async operations
When to choose
- you need in-process concurrency control for promises in Node.js
- you want a lightweight rate limiter for API calls or batch tasks
- you need priority queues or per-task timeouts for async work
When to avoid
- you need a persistent or distributed job queue across servers (use a Redis-backed queue like BullMQ)
- your project uses CommonJS since the package is ESM-only
- you need features beyond what the feature-complete library offers
Facets
library · maturity maintenance
concurrency scheduling rate-limiting developer-tools backend promise-queue async rate-limiting task-queue esm automation nodejs javascript typescript
2 sources
- readme: https://github.com/sindresorhus/p-queue · fetched 2026-08-28 · 9eb4a9d771b8
- registry_npm: https://registry.npmjs.org/p-queue · fetched 2026-08-29 · d62717c6f32e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/p-queue | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/p-queue")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem