Thorin-store-redis is the official Redis store adapter for the Thorin.js framework (v2.1.0). It provides session caching, background job queues, and pub/sub messaging integration. The package is maintained as part of the Thorin.js monorepo with monthly releases. Key differentiators include seamless integration with Thorin's async middleware and built-in connection pooling for high-throughput workloads.
npm install thorin-store-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures and uses the Redis store for session caching with async get/set operations.
Upgrade to Node.js 16+ and ensure your Redis commands are ioredis-compatible (e.g., no callbacks, use promises).
Change to import { storeRedis } from 'thorin-store-redis'.Do not rely on prototype methods on retrieved objects; always treat as plain data.
Add a retryStrategy in the config or listen to the 'error' event on the store instance.
Run npm install thorin-store-redis and ensure import is { storeRedis } from 'thorin-store-redis'.Call thorin.store('redis', config) before attempting to use the store instance.Start Redis server or check environment variables REDIS_HOST and REDIS_PORT.
Ensure the key was set with store.set (string type) and not via raw Redis commands.