Drop-in Redis cluster client wrapper for Node.js that provides a node_redis-compatible interface. Version 0.6.0 is the current stable release. The library automatically discovers cluster nodes, manages slot-node mapping, and routes commands to the correct node based on key hashes. It supports multi-key operations only on the same slot and emits events for cluster configuration changes. Alternative to ioredis for cluster mode, but with lower maintenance activity.
npm install redis-partyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Redis cluster instance, connects to nodes, sets a key, and quits.
Ensure all keys in a multi command hash to the same slot (e.g., use hash tags).
Consider migrating to ioredis which is actively maintained.
Avoid using newer Redis features or upgrade to a more modern client.
Use hash tags to ensure all keys are on the same slot: `{user:1000}.name` and `{user:1000}.age`.Start your Redis cluster nodes before running the client, or check firewall and port settings.