Redis store for fastify-session using ioredis. Current stable version is 2.0.0, released 2020-12-14. It integrates with @mgcrea/fastify-session to provide Redis-backed session storage for Fastify applications. Differentiators: uses ioredis (modern Redis client with Cluster/Sentinel support), ships TypeScript definitions, lightweight store implementation. Alternative to connect-redis for Koa/Express ecosystems. Release cadence is low; last release over 3 years ago.
npm install fastify-redis-sessionNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a Fastify server with Redis-backed session storage using fastify-redis-session.
Use `import { RedisStore } from 'fastify-redis-session'` instead of `import RedisStore from 'fastify-redis-session'`.Replace `fastify-cookie` with `@fastify/cookie` in both package.json and import statements.
Provide a secret string of at least 32 characters.
Ensure the Redis client is connected before registering the session plugin.
Use `import { RedisStore } from 'fastify-redis-session'` instead of default import.Run `npm install @mgcrea/fastify-session`.
Ensure `fastify.register(fastifyCookie)` is called before registering fastify-session.