@mydaogs/kv
v0.9.2
Published
Shared Redis client with lazy env resolution, safe to load inside Next runtime infrastructure
Readme
@mydaogs/kv
Redis client with lazy env resolution
A single Redis singleton behind a Proxy so process.env is read at first request rather than module load. Two entrypoints: ./rest for code that loads during build-time tracing (the cache handler), the default for ordinary application code that should fail fast at startup.
Install
pnpm add @mydaogs/kvPeer dependencies are listed in package.json and are deliberately not bundled
Cross-cutting docs
Rules, architecture decisions, and patterns that belong to no single package live in
@mydaogs/shared-docs
