A MongoDB-backed job queue for Node.js with a Resque-like API. Version 1.0.4 (latest) provides basic enqueue/dequeue operations, job classes with a perform method, and a CLI worker. Requires MongoDB for storage and is intended for simple background job processing in Node.js. Release cadence is sparse; the package has not been updated recently. Its key differentiator is simplicity, but it lacks advanced features like retries, scheduling, or priority queues.
npm install node-simple-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates importing NodeQueue, defining a global job class, enqueueing a job, and starting a worker from CLI.
Assign your job class to global scope: global.MyJob = MyJob;
Run: npm install mongodb
Use npx or full path: node ./node_modules/node-simple-queue/bin/node-worker start ...
Run: npm install mongodb
Ensure class is assigned to global (global.MyJob = MyJob) and has a static perform(data, done) method.