High-performance Redis Streams queue integration for NestJS, wrapping the power-queues library. Current stable version is 1.0.34. It uses environment variables for Redis configuration and provides a QueueService with hooks like onBatchReady and onBatchError. Key differentiators vs Bull/BullMQ: built specifically for NestJS with @InjectQueue decorator, supports multiple Redis clients, and allows extending QueueService directly. Release cadence is irregular as a small side project. Ships TypeScript types and requires Node >=14.
npm install nestjs-power-queuesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers QueueModule with a Redis client named 'queues' and injects the queue service to add tasks.
Ensure .env contains REDIS_QUEUES_HOST, REDIS_QUEUES_PORT, etc.
Use import syntax or configure your bundler for ESM.
Create a class that extends QueueService and implements queueName() and onBatchReady().
npm install nestjs-power-redis
Set REDIS_QUEUES_HOST, REDIS_QUEUES_PORT, REDIS_QUEUES_DATABASE, and optional REDIS_QUEUES_PASSWORD in .env or environment.