quu is a lightweight concurrent function queue for Node.js (v0.5.0, latest stable). It allows specifying maximum concurrency and optional wait mode before starting tasks. Tasks are added via push() and executed with run(), supporting both callback and promise APIs. Differentiators include minimal configuration, zero dependencies, and simple interface compared to heavier queue libraries like Bull or async.queue.
npm install quuNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a queue with concurrency 2, push three tasks (one failing), then run with callback.
Pass true as second argument: quu(concurrency, true) to defer execution until run() is called.
Always call done(err) with an Error object or null/undefined. In callback, filter errors: errors.filter(Boolean).forEach(...)
Create a new queue instance for each batch, or push new tasks and call run() again (but only the first call will execute).
Use require('quu') instead.Ensure task function receives done callback: q.push(done => { ... done(); });Push all tasks before calling run(), or use wait mode: const q = quu(5, true);
No dependency data recorded yet.