Files
github-actions[bot] 6ef8816a55 Version Packages (#100)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-26 15:07:23 -08:00
..
2026-02-26 15:07:23 -08:00
2026-02-26 15:07:23 -08:00
2026-02-20 13:25:09 -08:00
2026-01-01 09:11:52 -08:00
2026-02-20 13:25:09 -08:00

@chat-adapter/state-ioredis

npm version npm downloads

Redis state adapter for Chat SDK using ioredis. Use this if you need Redis Cluster or Sentinel support.

Installation

npm install chat @chat-adapter/state-ioredis

Usage

import { Chat } from "chat";
import { createIORedisState } from "@chat-adapter/state-ioredis";

const bot = new Chat({
  userName: "mybot",
  adapters: { /* ... */ },
  state: createIORedisState({
    url: process.env.REDIS_URL!,
  }),
});

Documentation

Full documentation at chat-sdk.dev/docs/state/ioredis.

License

MIT