A systemic redis component that integrates Redis into the systemic dependency injection framework. Current stable version is 3.0.2, released under a correction of serious versioning issues in the 2.x line (2.1.0–2.2.0 contain undocumented breaking changes and are discouraged). The package wraps the ioredis client and provides lifecycle management (connect, disconnect) within systemic's component model. Compared to raw ioredis usage, it offers declarative configuration and automatic connection handling, but requires understanding of systemic's patterns. Version 3.0.0 introduced breaking changes from 2.0.1, and the package only supports Node >=10. Release cadence is sporadic, with long gaps between versions.
npm install systemic-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage: configure Redis URL, add to systemic, start and interact with Redis client.
Upgrade directly from 2.0.1 to 3.0.0 or later.
Refer to the migration guide in the repo's release notes.
Install @types/ioredis and declare module augmentation for systemic-redis.
Upgrade Node.js version.
Ensure 'systemic-redis' is listed in package.json and npm install was run.
Use redis() as a factory: const redisComponent = require('systemic-redis')();Ensure .configure() sets redis.url or provide a config component with the 'redis' key.
Start Redis server or check REDIS_URL environment variable.