Persistent job queue built on LevelDB for Node.js. Version 2.1.1 uses levelup and sublevel to manage a durable queue with worker functions, automatic retries on failure, configurable concurrency and backoff. Unlike in-memory queues, it survives restarts. Offers a client-only API for pushing jobs without worker logic.
npm install level-jobsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a level-jobs queue with LevelDB, defines a worker, pushes a job, and listens to queue events.
Maintain a separate database or sublevel instance for non-queue data.
Use level-party or level-mem for testing, or migrate to a more modern queue stack.
Check job state before attempting deletion, or wait for job to complete.
npm install sublevel --save
Ensure db.open() has completed before creating the queue.
Set a sensible maxRetries limit (e.g., 10).