From 21a2e9edcd35c332687d817ec8419d6b05651165 Mon Sep 17 00:00:00 2001 From: Nathan Friedly Date: Mon, 1 Jul 2024 17:03:19 -0400 Subject: [PATCH] docs: usage with node-redis in cluster mode Please double-check this @gamemaker1 & @Gandalf1783 Fixes #207 (hopefully) --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index e7e9c34..ba8322a 100644 --- a/readme.md +++ b/readme.md @@ -140,6 +140,7 @@ below: | Library | Function | | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------- | | [`node-redis`](https://github.com/redis/node-redis) | `async (...args: string[]) => client.sendCommand(args)` | +| [`node-redis`](https://github.com/redis/node-redis) (cluster) | `async (...args) => cluster.sendCommand(undefined, false, args)` | | [`ioredis`](https://github.com/luin/ioredis) | `async (command: string, ...args: string[]) => client.send_command(command, ...args)` | | [`handy-redis`](https://github.com/mmkal/handy-redis) | `async (...args: string[]) => client.nodeRedis.sendCommand(args)` | | [`tedis`](https://github.com/silkjs/tedis) | `async (...args: string[]) => client.command(...args)` |