{"library":"cache-service-redis","type":"library","category":null,"description":"A Redis plugin for cache-service and a standalone Redis wrapper for Node.js (v2.0.2). Provides features like background refresh, automatic serialization/deserialization of objects, flexible Redis connection configuration (via env var, URL, or explicit params), and built-in logging with verbose flag. Compared to vanilla node_redis, it offers a more logical API (e.g., mset() accepts an object and supports per-key expiration). Compatible with cache-service and superagent-cache, and includes redis mock support for testing. The library is stable but in maintenance mode; no recent updates.","language":"javascript","status":"maintenance","version":"2.0.2","tags":["javascript","cache-service","cache","node","redis"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cache-service-redis","imports":["const CacheServiceRedis = require('cache-service-redis');","const redisCache = new CacheServiceRedis({ redisEnv: 'REDISCLOUD_URL' });","redisCache.set('key', 'value', 3600);"]},{"cmd":"yarn add cache-service-redis","imports":[]},{"cmd":"pnpm add cache-service-redis","imports":[]}],"homepage":"https://github.com/jpodwys/cache-service-redis#readme","github":"https://github.com/jpodwys/cache-service-redis","docs":null,"changelog":null,"pypi":null,"npm":"cache-service-redis","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}