redislock
JSON →Node distributed locking using Redis with atomic Lua scripts. Current stable version 1.3.0. Low release cadence (last update years ago). Differentiator: uses SET key uuid PX timeout NX for acquire and Lua scripts for release/extend, avoiding race conditions without requiring dedicated Redis connections. Supports callbacks, promises (bluebird), and co. Compatible with Redis >= 2.6.12. Provides LockAcquisitionError, LockReleaseError, LockExtendError for error handling.
Resources
packageredislock ↗