A simple and efficient queue job manager for Node.js, version 1.2.0. It provides concurrency limiting, dynamic queue (jobs can be added while running), optional delay, pause/unpause support, and event emitter-based lifecycle events (start, end, jobStart, jobEnd, pause, unPause). Unlike more complex job queues (e.g., Bull, Kue), qjobs is lightweight, in-memory, and focuses on basic concurrency control without persistence or external dependencies.
npm install qjobsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: creating a queue with concurrency limit, adding jobs, and running them.
Use require('qjobs') instead of import.Install @types/qjobs or declare your own module types.
Consider migrating to a maintained alternative for production use.
Wrap job body in try-catch and call next(err) or use a promise-based wrapper.
Use const qjobs = require('qjobs'); then new qjobs({...});Run npm install qjobs in your project directory.
Define your job function with two parameters: (args, next) and call next() when done.
No dependency data recorded yet.