secondary-cache

JSON →
library 2.1.1 ·javascript
verified Jun 7, 2026

A two-tier cache library with a fixed-capacity first-level (memory-resident) cache and an LRU second-level cache. Version 2.1.1 is current, stable, and ships TypeScript definitions. Differentiators include configurable expiration, weight-based eviction, and event hooks (before_add, add, update, del). It is lightweight with no external dependencies, suitable for Node.js or browser environments.