async-await-queue

JSON →
library 2.1.4 ·javascript
verified Jun 7, 2026

Zero-dependency promise-based priority queues for throttling, rate- and concurrency limiting of async tasks in Node.js and browsers. v2.1.4 (stable, actively maintained) provides O(log n) scheduling for numerous jobs with multiple priority levels. Distinguishes from other queues by full async/await compatibility, guaranteed order preservation, and never waking contexts that won't run. Suitable for rate-limiting API calls, controlling concurrent async loops, and parallelizing downloads. Ships TypeScript definitions and supports both ESM and CJS.