ocache

Composable caching for functions and HTTP responses with TTL, stale-while-revalidate and request deduplication.

Visit website ↗npm ↗

Install

bun add ocache
npm i ocache

Similar in the index

  • Tokenminning: saving tokens (PostHog) PostHog on cutting AI token spend: trim AGENTS.md, audit MCP, use caching.
  • ATA Validator JSON Schema validation that compiles for speed and runs where codegen is forbidden.
  • better-result A Result type for TypeScript with a single contract for people and tools.
  • Domain SDK A TypeScript API to add, verify and monitor customer domains across hosts.
  • Drizzle ORM Lightweight, performant TypeScript ORM with Drizzle Studio.