@nexusts/redis
v0.9.7
Published
Runtime-aware Redis client (Bun / Node / Workers)
Readme
@nexusts/redis
NexusTS — Bun-native fullstack framework
Description
Runtime-aware Redis client (Bun / Node / Workers).
One client, three runtimes. Powers the Drizzle-backend session, cache, and limiter stores.
Install
This module is part of the NexusTS monorepo. Each module is published as its own npm package under the @nexusts/ scope.
Most apps start with just the core:
bun add @nexusts/coreThen add this module only if you need it:
bun add @nexusts/redisPeer dependencies
bun add ioredisioredis^5.11.1 — Required for Redis-backed sessions / cache / limiter / queue. Skip if you use only the memory / Drizzle backends.
Without them the module loads but its public methods throw a clear error pointing to this install command on first call.
Usage
import { /* public API */ } from "@nexusts/redis";See the user guide and the example app for a working demo.
License
MIT — see the root LICENSE.
