@nexusts/cache
v0.9.7
Published
Application cache (memory / Redis / Drizzle backends)
Readme
@nexusts/cache
NexusTS — Bun-native fullstack framework
Description
Application cache (memory / Drizzle backends).
Tagged caching with LRU eviction (memory) or shared Drizzle storage. Group keys by tag and invalidate them together.
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/cachePeer dependencies
None. No external dependencies. The memory and Drizzle backends are bundled; the Drizzle backend uses @nexusts/drizzle if installed.
Usage
import { /* public API */ } from "@nexusts/cache";See the user guide and the example app for a working demo.
License
MIT — see the root LICENSE.
