A promise-based, dynamic priority queue runner with concurrency limiting for Node.js. Version 2.0.1 is stable but receives only sporadic maintenance. It allows adding jobs with integer priorities, ensures that all jobs of a lower priority complete before higher priorities execute, and dynamically switches back to lower priorities if new jobs are added. Supports configurable concurrency (default 1) and custom Promise implementations. Lightweight with no runtime dependencies.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package is CJS-only; no ESM exports.
Default import only; no named exports.
RunQueue is a class, not a factory function.
Creates a queue with concurrency 2, adds jobs at priorities 0 and 1, runs them, and logs completion.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.