simple-redis-connector
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

Simple Redis Connector

The Kroo.Work PnP (Plug and Play) Redis Connector!

How To UseCreditsLicense

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


Readme

Keywords

Package Sidebar

Install

npm i simple-redis-connector

Weekly Downloads

7

Version

1.2.1

License

MIT

Unpacked Size

40.1 kB

Total Files

10

Last publish

Collaborators

  • alexsanderlira
  • kroo-tech