Promise Blocking Queue

JSON →
library 1.0.0 ·javascript
verified Jun 7, 2026

Memory-optimized promise-based queue with concurrency control (v1.0.0, latest stable, active development). Designed to prevent Out Of Memory errors when processing large datasets from streams by providing a blocking enqueue that pauses the producer until a slot is available. Unlike p-queue or Bluebird.map, this queue integrates with Node.js streams to control backpressure without buffering all items in memory. Ships TypeScript types, supports Node >=14, and includes priority queuing. Good for rate-limiting async operations on large data.