A Redis storage engine for the expeditious caching library, version 0.1.2. It stores cache entries in a Redis instance, providing a scalable backend for Node.js caching needs. The package is part of the expeditious ecosystem, allowing easy switching between cache engines. It implements the expeditious engine interface with methods like set, get, del, ttl, flush, and keys. Requires Node >= 4.4 and the redis package. Compared to in-memory engines, it enables shared, persistent caching across multiple processes or servers. Development appears to be low activity (few releases) and is used in production but may not be actively maintained.
npm install expeditious-engine-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Setup and usage of expeditious with Redis engine: initialize engine, create cache instance, set and get a value.
Pass redis connection options as {redis: {host, port, ...}} or use redis.createClient options.Avoid using keys() method in production. Use SCAN if needed.
Update code from `const engine = require('expeditious-engine-redis');` to `const engine = require('expeditious-engine-redis')({redis: options});`Change `const engine = require('expeditious-engine-redis');` to `const engine = require('expeditious-engine-redis')({redis: {host: 'localhost', port: 6379}});`Ensure Redis is running and check host/port in options.
Verify that engineFactory returns a valid object and that expeditious is correctly called with engine option.