Skip to content

Commit f2951ab

Browse files
authored
docs: usage with node-redis in cluster mode (#208)
Fixes #207 TY @gamemaker1 & @mgiova
1 parent 5e88ff6 commit f2951ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ below:
140140
| Library | Function |
141141
| ------------------------------------------------------------------ | ----------------------------------------------------------------------------- |
142142
| [`node-redis`](https://github.com/redis/node-redis) | `async (...args: string[]) => client.sendCommand(args)` |
143+
| [`node-redis`](https://github.com/redis/node-redis) (cluster) | `async (...args) => cluster.sendCommand(args[1], false, args)` |
143144
| [`ioredis`](https://github.com/luin/ioredis) | `async (command: string, ...args: string[]) => client.call(command, ...args)` |
144145
| [`handy-redis`](https://github.com/mmkal/handy-redis) | `async (...args: string[]) => client.nodeRedis.sendCommand(args)` |
145146
| [`tedis`](https://github.com/silkjs/tedis) | `async (...args: string[]) => client.command(...args)` |

0 commit comments

Comments
 (0)