monq is a MongoDB-backed job queue for Node.js that provides a simple interface for enqueuing and processing jobs. Version 0.3.7 is the latest stable release, though the project appears to be in maintenance mode with no recent updates. It differs from alternatives like Bull or Kue by its minimal dependency on MongoDB and straightforward API, but lacks advanced features like scheduling, retries with backoff, or priority queues.
npm install monqNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to MongoDB, enqueues a 'reverse' job, and processes it with a worker.
Consider migrating to a maintained alternative like Bull or Agenda.
Use `const monq = require('monq'); const client = monq(uri);`Always call `worker.start()` after registration.
Upgrade to a newer job queue or manually update the mongodb dependency.
Use `const monq = require('monq');` or `import monq from 'monq';` if using ESM.Run `npm install mongodb` in your project.
Provide valid credentials in the URI, e.g., `mongodb://user:pass@localhost:27017/db`.