Redis session store connector for hono-sessions, forked from connect-redis-hono. Version 1.1.1, actively maintained. It provides a RedisStoreAdapter class that integrates with hono-sessions middleware to store session data in Redis. Only compatible with ioredis client. Different from alternatives like connect-redis-hono by being tailored for Hono framework and hono-sessions package.
npm install hono-sessions-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic setup of Hono app with session middleware using RedisStoreAdapter and ioredis client.
Use ioredis instead of node-redis or other clients.
Use keyPrefix in session middleware if needed.
Ensure ttl value is in seconds.
Wait for Redis client 'ready' event before using store.
Refer to hono-sessions-redis documentation, not connect-redis-hono.
Use `import { RedisStoreAdapter } from 'hono-sessions-redis'`Use `import Redis from 'ioredis'` and instantiate correctly.
Provide a prefix string (e.g., prefix: 'Session:')
Use named import `{ RedisStoreAdapter }`