A priority job queue backed by Redis, originally built by Automattic and now unmaintained. This fork (deps_safe_kue v0.12.0) fixes legacy dependency issues without adding new features. It supports delayed jobs, parallel work distribution, job events, TTL, retries with backoff, graceful shutdown, full-text search, a RESTful JSON API, and a rich UI. The package is ESM-only in recent versions (if following upstream) though the 0.x series is mostly CJS. Known to be in maintenance mode; users should consider alternatives like Bull or Bee-Queue for active development.
npm install deps_safe_kueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Kue queue, processes email jobs, and enqueues a sample job.
Migrate to Bull or Bee-Queue for active support and modern features.
Use { redis: { host, port, auth } } instead of passing a client directly.Update progress handlers to accept two arguments.
Set job.removeOnComplete(true) if you don't need completed jobs persisted.
Consider using a dedicated monitoring tool instead of the built-in API.
Start Redis with 'redis-server', or configure connection via kue.createQueue({ redis: { host: 'your_host', port: 6379 } }).Use import kue from 'kue' or switch to CommonJS: const kue = require('kue').default; if needed.Always provide a job type, e.g., queue.create('email', data).Ensure you pass a function: job.save(err => { ... }).