File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
content/develop/clients/nodejs Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,14 @@ title: Migrate from ioredis
15
15
weight : 6
16
16
---
17
17
18
+ Redis previously recommended the [ ` ioredis ` ] ( https://github.com/redis/ioredis )
19
+ client library for development with [ ` Node.js ` ] ( https://nodejs.org/en ) ,
20
+ but this library is now deprecated in favor of
21
+ [ ` node-redis ` ] ({{< relref "/develop/clients/nodejs" >}}). This guide
22
+ outlines the main similarities and differences between the two libraries that
23
+ you should be aware of if you are an ` ioredis ` user and you want to start a new
24
+ Node.js project or migrate an existing ` ioredis ` project to ` node-redis `
18
25
26
+ | Feature | ` ioredis ` | ` node-redis ` |
27
+ | :-- | :-- | :-- |
28
+ | Handling asynchronous command results | Callbacks and Promises | Promises only |
You can’t perform that action at this time.
0 commit comments