cache-sqlite-lru-ttl
JSON →A persistent cache library combining SQLite storage with LRU eviction and TTL expiration for Node.js and browsers (via SQL.js). The current stable version is 1.2.2, with irregular releases. Key differentiators: dual LRU+TTL eviction policy, ACID-backed persistence via SQLite, and support for both synchronous and asynchronous APIs. Unlike in-memory caches (e.g., lru-cache), data survives restarts; unlike pure SQLite caches, bounded memory is guaranteed via LRU. ESM-only, TypeScript types built-in.
Resources
packagecache-sqlite-lru-ttl ↗
API endpoints
full doc /v1/registry/cache-sqlite-lru-ttl