redis-connection

JSON →
library 5.4.0 ·javascript
verified Jun 7, 2026

A global Redis connection manager for Node.js that reuses a single connection (or pair for Pub/Sub) across modules. Current stable version is 5.4.0. Released with moderate cadence. Differentiators: automatically manages connection lifecycle, supports both standard and subscriber connections, and simplifies test cleanup by allowing a single close call. Provides a singleton pattern to avoid exhausting Redis connection limits.