A small adapter that uses Redis as a pluggable backend for the Cacher HTTP caching library (node-cacher). Version 0.0.1 is the initial release, with no active maintenance or updates since. It wraps node-redis to provide a Redis-based cache store, accepting the same connection options as node-redis.createClient or an existing Redis client instance. Keys are namespaced (default namespace: "cacher"). This package is specific to the now-dormant node-cacher ecosystem and is not recommended for new projects.
npm install cacher-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows creating a CacherRedis backend with an existing Redis client and using it with Cacher.
Call new CacherRedis(host, port, opts) or new CacherRedis(redisClient, opts).
Always provide a unique namespace in opts.
Use a maintained caching solution such as ioredis or keyv.
Use require('cacher-redis') instead of import.Start Redis or verify connection parameters: new CacherRedis('localhost', 6379)