Checks the health of a Redis server.
This project is a shameless copy+paste form redis-status, but adapted to work with
ioredis clients as well.
ioredis, this works both for single Redis deployments and for Sentinel as well.
npm install --save redis-healthcheck
yarn add redis-healthcheck
const Redis =const RedisHealthcheck =const config = /* host, port, password, ... */const client = configconst redisHealthcheck =redisHealthcheck