1.2.1 • Published 11 months ago

simple-redis-connector v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

How To Use

Install

To start, install this lib in your Node project:

  • With NPM:
$ npm install simple-redis-connector
  • With Yarn
$ yarn add simple-redis-connector

Setup Environment Variables

  • 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

Credits

This application uses the following open source packages:

License

ISC


1.2.0

11 months ago

1.2.1

11 months ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago