{"library":"redlock-universal","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.8.4","tags":["javascript","redis","redlock","distributed","lock","mutex","semaphore","concurrency","microservices","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install redlock-universal","imports":["import { createLock } from 'redlock-universal'","import { IoredisAdapter } from 'redlock-universal'","import { NodeRedisAdapter } from 'redlock-universal'","import { LockManager } from 'redlock-universal'"]},{"cmd":"yarn add redlock-universal","imports":[]},{"cmd":"pnpm add redlock-universal","imports":[]}],"homepage":"https://github.com/alexpota/redlock-universal#readme","github":"https://github.com/alexpota/redlock-universal","docs":null,"changelog":null,"pypi":null,"npm":"redlock-universal","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}