A Redis backend for the refreshing-config dynamic configuration library by Microsoft. Current stable version 0.1.0 enables storing configuration values in Redis hashmaps with change notification via Redis pub/sub channels, allowing synchronized configuration across multiple machines. This library is designed for Node.js applications using refreshing-config. It requires explicit instantiation of a Redis client. As a minor release, breaking changes are unlikely but users should verify compatibility with refreshing-config and node_redis versions. Differentiators include a simple pub/sub mechanism and direct integration with Microsoft's refreshing-config library.
npm install refreshing-config-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up a dynamic configuration with Redis backend using refreshing-config-redis, including initializing Redis client, store, and pub/sub.
Use redis.createClient(options) as shown in docs or upgrade to compatible client version.
Migrate to actively maintained configuration libraries.
Ensure channel name is derived from configuration name as shown.
Add error event listeners on redisClient.
Use namespaced or prefixed configuration names.
Use const { RedisConfigStore } = require('refreshing-config-redis')Start Redis server or set REDIS_URL environment variable.
Ensure you use new RefreshingConfig(store) and then call set on that instance.