You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// All arguments are passed directly to the redis server,
86
+
// All arguments are passed directly to the valkey/redis server,
87
87
// so technically iovalkey supports all Redis commands.
88
-
// The format is: redis[SOME_REDIS_COMMAND_IN_LOWERCASE](ARGUMENTS_ARE_JOINED_INTO_COMMAND_STRING)
88
+
// The format is: redis[SOME_VALKEY_COMMAND_IN_LOWERCASE](ARGUMENTS_ARE_JOINED_INTO_COMMAND_STRING)
89
89
// so the following statement is equivalent to the CLI: `redis> SET mykey hello EX 10`
90
90
redis.set("mykey", "hello", "EX", 10);
91
91
```
@@ -101,7 +101,7 @@ See the `examples/` folder for more examples. For example:
101
101
-[Streams](examples/stream.js)
102
102
-[Redis Modules](examples/module.js) e.g. RedisJSON
103
103
104
-
All Redis commands are supported. See [the documentation](https://redis.github.io/iovalkey/classes/Redis.html) for details.
104
+
All Redis commands are supported. See [the documentation](https://valkey.github.io/iovalkey/classes/Redis.html) for details.
105
105
106
106
## Connect to Redis
107
107
@@ -1352,16 +1352,14 @@ default, this option is disabled and can only be used for debugging purposes. Yo
1352
1352
1353
1353
# Running tests
1354
1354
1355
-
Start a Redis server on 127.0.0.1:6379, and then:
1355
+
Start a Valkey/Redis server on 127.0.0.1:6379, and then:
1356
1356
1357
1357
```shell
1358
1358
npm test
1359
1359
```
1360
1360
1361
1361
`FLUSH ALL` will be invoked after each test, so make sure there's no valuable data in it before running tests.
1362
1362
1363
-
If your testing environment does not let you spin up a Redis server [iovalkey-mock](https://github.com/stipsan/iovalkey-mock) is a drop-in replacement you can use in your tests. It aims to behave identically to iovalkey connected to a Redis server so that your integration tests is easier to write and of better quality.
1364
-
1365
1363
# Debug
1366
1364
1367
1365
You can set the `DEBUG` env to `iovalkey:*` to print debug info:
@@ -1376,12 +1374,6 @@ I'm happy to receive bug reports, fixes, documentation enhancements, and any oth
1376
1374
1377
1375
And since I'm not a native English speaker, if you find any grammar mistakes in the documentation, please also let me know. :)
1378
1376
1379
-
# Contributors
1380
-
1381
-
This project exists thanks to all the people who contribute:
0 commit comments