This package provides a simple utility to monitor Redis connectivity and report problems. Version 0.1.4 is the latest release, with no known update cadence. It relies on the 'redis' npm package and allows callback-based monitoring of connection health. Differentiators are minimal; this is a very small, outdated package not recommended for production use.
npm install redis-watchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a Redis connection monitor that logs errors, disconnections, and reconnections, then stops after 30 seconds.
Pin 'redis' to a compatible version in your package.json.
Use 'redis' client events directly to track initial connection success.
Consider alternatives like 'redis' built-in monitoring or 'ioredis' for more robust connectivity management.
npm install redis
Use import { watch } from 'redis-watch'Set environment variable REDIS_HOST to your Redis server address.