You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
fixed duplicate and typo
This commit is contained in:
@@ -152,9 +152,8 @@ port and host are probably fine and you don't need to supply any arguments. `cre
|
|||||||
* `redis.createClient()` is equivalent to `redis.createClient(6379, '127.0.0.1', {})`
|
* `redis.createClient()` is equivalent to `redis.createClient(6379, '127.0.0.1', {})`
|
||||||
* `redis.createClient(options)` is equivalent to `redis.createClient(6379, '127.0.0.1', options)`
|
* `redis.createClient(options)` is equivalent to `redis.createClient(6379, '127.0.0.1', options)`
|
||||||
* `redis.createClient(unix_socket, options)`
|
* `redis.createClient(unix_socket, options)`
|
||||||
* `redis.createClient(port, host, options)`
|
|
||||||
|
|
||||||
`options` in an object with the following possible properties:
|
`options` is an object with the following possible properties:
|
||||||
|
|
||||||
* `parser`: which Redis protocol reply parser to use. Defaults to `hiredis` if that module is installed.
|
* `parser`: which Redis protocol reply parser to use. Defaults to `hiredis` if that module is installed.
|
||||||
This may also be set to `javascript`.
|
This may also be set to `javascript`.
|
||||||
|
Reference in New Issue
Block a user