Manages Redis connections via Sentinel for high availability. Current stable version is 0.0.16. Provides automatic failover handling and separate master/slave client pools. Low-level, callback-based API versus alternatives like ioredis which offer higher-level abstractions. Not actively maintained; last release years ago.
npm install simple-redis-sentinelNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a Sentinel manager, connects to master/slave, and performs a simple write.
Update Node.js to version 6 or higher.
Consider using ioredis with built-in Sentinel support.
Use strings like 'master' or 'slave' as per documentation.
Call manager.init(callback) before calling getMasterClientById.
Ensure sentinel servers are running and accessible.
Use const S = require('simple-redis-sentinel') and call new S(...).init(cb).Use const Sentinel = require('simple-redis-sentinel').