@celsian/cache
v0.3.1
Published
KV store, response caching, and session management for CelsianJS.
Readme
@celsian/cache
KV store, response caching, and session management for CelsianJS.
Install
npm install @celsian/cacheUsage
import { MemoryKVStore, createResponseCache, createSessionManager } from '@celsian/cache';
const store = new MemoryKVStore();
const cache = createResponseCache({ store, ttlMs: 60_000 });
const sessions = createSessionManager({ store });Documentation
See the main repository for full docs, examples, and API reference.
License
MIT
