1.0.1 • Published 3 years ago

@improvising/redis-client v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Standalone Redis Client

A Typescript Standalone Redis client with multiple-connection support.

Install

It's highly recommended to run on Unix-like operating system with Nginx.

Just simply run

yarn add @improvising/redis-client

or

npm install @improvising/redis-client

to install the module.

Initialization

Redis connection options are the same as IORedis' connection options.

await useRedis({
  host: '',
  password: '',
  port: 6379,
  keyPrefix: '',
  enableAutoPipelining: true,
  reconnectOnError: () => 2,
})

How to feedback

If you have any question about it, you can just open an issue, create a pull request, or send an email to opensource@improvising.io for further discussions.