Version 3.2.3. Lightweight in-process job queue for NestJS with no external dependencies like Redis. Supports retries, prioritization, delayed jobs, per-queue rate limiting, deduplication, and dead letter queues. Ships TypeScript types, requires Node.js 20+ and @nestjs/event-emitter as a peer dep. Released under MIT, maintained actively as of 2025. Differentiator: predictable single-process job handling without Redis, ideal for small-to-medium NestJS apps that need background tasks without operational overhead.
npm install nestjs-simple-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines a queue processor class with @QueueJob decorator, registers it via QueueModule.forProcessors, then injects QueueService to enqueue jobs.
Use retryStrategy instead of retryLimit in the options object passed to forRoot().
Use @QueueJob('job-name') on individual methods instead of @QueueProcessor() on the class.Add @nestjs/event-emitter to your package.json dependencies.
Enable file-based persistence by setting { persist: { enabled: true, path: './queue-data.json' } } in forRoot().npm install @nestjs/event-emitter
Ensure QueueModule.forRoot() is imported in the module where QueueService is used.
Add @Injectable() decorator to the processor class.