A Node.js module for persisting nanocyte configuration data to a Redis store. Version 3.3.0 is the latest stable release, but the package appears to be in low-maintenance mode with sparse updates. It is part of the Octoblu IoT platform's nanocyte pipeline engine, specifically handling storage of configuration after pipeline execution. Differentiators include tight integration with nanocyte and Octoblu, but it is not actively developed and alternative solutions may be more robust for general Redis config storage.
npm install nanocyte-configuration-saver-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to create a ConfigurationSaver instance and save a configuration object to Redis.
Pass a Redis client instance instead of a callback to the ConfigurationSaver constructor.
Wrap the callback in a Promise or use util.promisify for easier async handling.
client.on('error', (err) => console.error('Redis error:', err));Avoid circular references; use replacer function if needed.
Use const { ConfigurationSaver } = require('...') or use a bundler that handles CJS interop.Start Redis service or set REDIS_HOST and REDIS_PORT environment variables correctly.