sindresorhus/p-queue
Some data may be outdated — see provenance labels.
Promise queue with concurrency control observed · 2026-09-28
Health v2 · maintenance only
89/100
- Activity 85
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 23
- age_days: 3644
- days_rel: 90
- days_push: 90
- n_releases_24m: 12
Adoption not part of the score
4276 stars · 221 forks observed · 2026-09-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-09-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 | 89 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/p-queue")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem