mini-queue v0.0.14 is a lightweight in-memory job queue for Node.js (engine >=4). It provides a state machine for job lifecycle (new, queue, dequeue, process, complete, reject, cancel) with journaling of state transitions and timestamps. It supports grouping jobs by group and name, and limits journal length. The package is minimal with no external dependencies, suitable for simple queuing needs without persistence or distributed workers. Last updated in 2017-2018, it is in maintenance mode.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
The library is CommonJS but can be imported with ESM in Node >= 12 using default import transpilation.
The module exports a single constructor function as module.exports, not a named export.
QueueJob is a property on the exported constructor; it is not exported as a named export in ESM.
Creates a MiniQueue instance with concurrency 2, creates a job with auto-start, and another manually queued job.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.