{"library":"redis-connection","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"5.4.0","tags":["javascript","redis","connection","single","multiple","re-useable","global"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install redis-connection","imports":["const redisClient = require('redis-connection')();","const redisSub = redisClient.get('default')","redisClient.end(true)"]},{"cmd":"yarn add redis-connection","imports":[]},{"cmd":"pnpm add redis-connection","imports":[]}],"homepage":"https://github.com/dwyl/redis-connection#readme","github":"https://github.com/dwyl/redis-connection","docs":null,"changelog":null,"pypi":null,"npm":"redis-connection","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}