The ABASync PnP (Plug and Play) Redis Helper!
How To Use • Credits • License
To start, install this lib in your Node project:
- With NPM:
$ npm install simple-redis-connector
- With Yarn
$ yarn add simple-redis-connector
-
REDIS_HOST: Your redis host. Default:
localhost
-
REDIS_PORT: Your redis port. Default:
6379
-
REDIS_PASSWORD: Your redis password. Default:
Empty
-
REDIS_PREFIX: The prefix you want to use for yout keys. Default:
Empty
-
REDIS_CLUSTER: Set to
true
if your Redis is running in Cluster mode. Default:false
-
REDIS_REQUEST_TIMEOUT: Timeout to execute an operation in milliseconds. Default:
300
-
REDIS_CONNECT_TIMEOUT: Timeout to connect to Redis instance in milliseconds. Default:
200
-
REDIS_IGNORE: Set to
true
if you want to complete ignore Redis cache. Default:false
This application uses the following open source packages:
ISC