A Node.js module that checks the health of a Redis server, suitable for use by a service's health route. v1.0.3 is the current stable release. It connects to Redis only to check status and then disconnects. Lightweight alternative to more complex health-check libraries; designed for simple monitoring integrations like Pingdom.
npm install redis-statusNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a Redis health check and integrate with Express health endpoint.
No code changes needed, but connection behavior differs; adjust expectations if relying on persistent connection.
Wrap in a Promise: new Promise((resolve, reject) => fooStatus.checkStatus(err => err ? reject(err) : resolve('great')))If deeper health checks are needed, consider adding custom logic or using a more comprehensive library.
Use require('redis-status') or convert to ESM with createRequire.Start Redis server or correct host/port in configuration.
Ensure redisStatus({...}) returns an object before calling checkStatus.No dependency data recorded yet.