Skip to content

createRedisStorage

function createRedisStorage(options): RedisKvStorage;

Defined in: src/storage/redis.ts:398

Create a Redis-backed RedisKvStorage storing JSON strings.

Parameter Type
options RedisStorageOptions

RedisKvStorage

import { createRedisStorage } from "@xtandard/kit/storage/redis";
const storage = createRedisStorage({ url: process.env.REDIS_URL, prefix: "app" });