NestJS Redlock Universal
JSON →NestJS integration for redlock-universal providing distributed Redis and Valkey locks with decorators, modules, and dependency injection. Current stable version is 0.3.0 (pre-1.0, API may change). Release cadence is irregular. Uses Redlock algorithm for multi-instance locking, works with node-redis v4+, ioredis v5+, and Valkey GLIDE v2+. Key differentiators: native NestJS decorator @Redlock, dynamic lock key generation, and automatic lock management via RedlockService. Requires Node >=22.0.0 and peer deps @nestjs/common/core ^8.0.0-11.0.0, redlock-universal ^0.8.0, reflect-metadata.
Resources
packagenestjs-redlock-universal ↗