ioredis-client
v1.0.7
Published
ioredis-client is a client for connect Redis with `ioredis` library, which combines `standalone` and `cluster` mode together.
Downloads
12
Readme
ioredis-client
ioredis-client is a client for connect Redis with ioredis library, which combines standalone and cluster mode together.
usage
// typescript
const REDIS_URL = "rediss://:dummypass@localhost:6379"
const rc = new IORedisClient()
const client = rc.Client()
client.ping().then("pong" => {
console.log("PONG=", pong)
})preparation for dev
npm install ioredis;
npm install -D @types/node