redis-clustr (v1.7.0) is a thin wrapper around the node_redis client for Redis Cluster support. It auto-discovers nodes via CLUSTER SLOTS, handles MOVED/ASK redirections, and supports pub/sub, multi-key commands (del/mget/mset), and batch operations. The library is no longer actively maintained; users should migrate to ioredis which has native cluster support.
npm install redis-clustrNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a RedisCluster client with one server, sets and gets a key.
Replace with ioredis: npm install ioredis; use new Redis.Cluster([{host, port}])Use pipeline or batch pattern, or migrate to a library that supports atomic multi.
Set slaves option explicitly to match your use case: 'never', 'share', or 'always'.
Use redis cluster with appropriate slot hashing and ensure idempotent commands.
Start a Redis server or check the server configuration in the options.
This is normal; redis-clustr automatically redirects. If you see it logged, ensure the library is handling it.
redis-clustr should handle ASK redirections automatically; if not, check your library version.