redlock-universal
JSON →A production-ready distributed locking library for Redis and Valkey supporting all three major clients: node-redis, ioredis, and Valkey GLIDE. Version 0.8.4, stable and actively maintained. It uses the Redlock algorithm for fault-tolerant locks with automatic lock extension and cleanup. Key differentiator: universal client support while maintaining sub-millisecond performance (0.377ms latency, comparable to dedicated libraries). Includes TypeScript types, monitoring hooks, and optional LockManager for multi-node setups.
Resources
packageredlock-universal ↗
API endpoints
full doc /v1/registry/redlock-universal