A lightweight library providing Redis-backed session storage for Remix applications. Version 0.0.12 is the latest stable release, with no frequent updates. It offers two ways to connect to Redis: via a config object or by passing an existing ioredis client. Unlike other session stores, it integrates directly with Remix's session abstraction and requires minimal configuration. The package ships TypeScript types and is designed for server-side use only.
npm install remix-redis-sessionNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a Redis session storage instance and use it in a Remix app for getting and committing sessions.
Pin to a specific version and review changelog before upgrading.
Use `import { createRedisSessionStorage } from 'remix-redis-session'`.Refer to Remix v2 documentation for updated cookie options typing.
Change import to `import { createRedisSessionStorage } from 'remix-redis-session'`.Ensure Redis is running and accessible. Check `redisConfig.host` and `redisConfig.port`.
Ensure `cookie` is provided with required fields (name, secrets) and either `redisConfig` or `redisClient` is set.