Simple-to-use yet powerful queue for Node.js with support for persistent storage, batched processing, priority, task merging, retry on fail, concurrent processing, progress events, and task statistics. Current stable version is 3.8.12. The library is mature and stable with infrequent releases. It differentiates itself through its extensive feature set including fine-tuned timing controls, ETA progress, and extendable storage backends like SQLite and Redis, while remaining easy to set up.
npm install better-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a queue that processes tasks by doubling the input, using events to capture results and drain.
Set the `id` option explicitly to a string property or function that returns a string.
Always pass an Error object: cb(new Error('message')).Use `retry: { maxRetries: 3 }` instead of `maxRetries: 3`.Ensure your worker function takes (input, cb) and calls cb(null, result) for success or cb(err) for failure.
Run `npm install better-queue` in your project directory.
No dependency data recorded yet.