Skip to content

@codesoul-co/hypha-serving-cache API

Serving cache keys, stores, policies and cache coordination.

  • Install: npm install @codesoul-co/hypha-serving-cache@1.0.1
  • Entrypoint import: import { ... } from '@codesoul-co/hypha-serving-cache';
  • Public exports: 64
  • Source modules: 10

Export overview

KindCount
class8
interface23
function15
constant7
type11

Source modules

ModuleUse whenExportsSource
cache-managerUse the Cache manager module for reading, writing, or coordinating cache state. It exports 2 classes, 1 interface.3source
keyUse the Key module for using the public contracts and operations for this capability boundary. It exports 6 functions.6source
middleware/llm-cache-middlewareUse the Llm cache middleware module for reading, writing, or coordinating cache state. It exports 1 class, 2 functions.3source
policiesUse the Policies module for using the public contracts and operations for this capability boundary. It exports 1 constant, 3 functions.4source
prefix-shapeUse the Prefix shape module for using the public contracts and operations for this capability boundary. It exports 1 class, 1 interface.2source
schemasUse the Schemas module for declaring and runtime-validating contracts. It exports 6 constants, 4 functions.10source
stores/memory-storeUse the Memory store module for persisting and reading data at this boundary. It exports 2 classes.2source
stores/redis-storeUse the Redis store module for persisting and reading data at this boundary. It exports 1 class, 2 interfaces.3source
stores/sqlite-storeUse the Sqlite store module for persisting and reading data at this boundary. It exports 1 class, 1 interface.2source
typesUse the Types module for declaring and runtime-validating contracts. It exports 18 interfaces, 11 types.29source

Import boundary

This page documents only the public API exported by the @codesoul-co/hypha-serving-cache package entrypoint. Implementations under packages/serving-cache/src that are not exported from that entrypoint are not part of the npm package contract.