Skip to content

Commit 3b30d00

Browse files
DOC-4942 started features table
1 parent 4fc1c95 commit 3b30d00

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

content/develop/clients/nodejs/migration.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,14 @@ title: Migrate from ioredis
1515
weight: 6
1616
---
1717

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`
1825

26+
| Feature | `ioredis` | `node-redis` |
27+
| :-- | :-- | :-- |
28+
| Handling asynchronous command results | Callbacks and Promises | Promises only |

0 commit comments

Comments
 (0)