You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
Fixing documentation typo
This commit is contained in:
@@ -120,7 +120,7 @@ This library is a 1 to 1 mapping to [Redis commands](https://redis.io/commands).
|
||||
Example setting key to auto expire using [SET command](https://redis.io/commands/set)
|
||||
|
||||
```js
|
||||
// this key will expires after 10 seconds
|
||||
// this key will expire after 10 seconds
|
||||
client.set('key', 'value!', 'EX', 10);
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user