Redis plugin for the Spawnpoint framework, providing a configured ioredis instance mounted at app.redis. Version 3.0.0 wraps ioredis for Redis connections, with configuration via redis.json matching ioredis options. Integrates seamlessly with Spawnpoint's lifecycle and logging. Compared to using ioredis directly, spawnpoint-redis automates connection management within Spawnpoint apps. Release cadence is irregular, tied to Spawnpoint ecosystem updates.
npm install spawnpoint-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows registering the plugin on a Spawnpoint app and using app.redis to set/get a key.
Update Node.js to 14+ and use import syntax instead of require().
Pass options directly to spawnpointRedis(options) instead of relying on redis.json.
Always await Redis calls (e.g., await app.redis.set(...)).
Convert your project to ESM (add "type": "module" to package.json) or use dynamic import() instead of require().
Ensure spawnpointRedis is loaded as a plugin and Redis operations are inside app.ready().