{"library":"express-redis","type":"library","category":null,"description":"Express middleware that provides a shared Redis client connection (via the `redis` package) across all requests. Current stable version 2.0.1 uses `redis` ^2.6.2 (peer dependency). Release cadence is low/maintenance only. Key differentiator: simple, zero-config middleware that adds `req.db` for Redis access, with optional custom property name and support for all `redis.createClient` options. Unlike more complex caching or session middleware, it just exposes the raw Redis client per request.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install express-redis","imports":["import redisMiddleware from 'express-redis'","const middleware = require('express-redis')","req.db.get('key', callback)"]},{"cmd":"yarn add express-redis","imports":[]},{"cmd":"pnpm add express-redis","imports":[]}],"homepage":"https://github.com/elliotttf/express-redis#readme","github":"https://github.com/elliotttf/express-redis","docs":null,"changelog":null,"pypi":null,"npm":"express-redis","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}