Redis session backend for React Router v7 (formerly Remix). This library implements the session storage interface using Redis, supporting either Redis connection config or a pre-existing Redis client. Current version 0.0.3 is an early release with basic functionality. It provides a drop-in replacement for the built-in session storage, allowing server-side session management with Redis. No breaking changes reported yet. Alternative to other session adapters like @remix-run/server-runtime sessions.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package exports a single named function. Default import is not available. CommonJS require works but TypeScript may complain if no allowSyntheticDefaultImports.
Type generics for session data must be provided when calling the function. The type must match the react-router SessionData shape; this import is from 'react-router', not this package.
The redisConfig.redisClient expects a Redis client instance, but the type is not re-exported. You must import the Redis type from your chosen Redis library (e.g., 'ioredis' or 'redis').
Sets up Redis-backed session storage with configuration, then retrieves a session from an incoming request's cookie.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.