Preparing for system design interviews?  Try bugzed.com →

cache-sqlite-lru-ttl

JSON →
library 1.2.2 ·javascript
verified Jun 7, 2026

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.

total hits 17
actors 4 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Amazonbot
3
ByteDance
2
Humans
8

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · VN · AE