Receptacle

JSON →
library 1.3.2 ·javascript
verified Jun 7, 2026

In-memory LRU cache with TTL support for Node.js and browsers. Current stable version is 1.3.2, released under an MIT license with a stable API. It provides a simple API similar to Map but with LRU eviction and per-key TTL, optional refresh on access, and built-in serialization/deserialization to JSON. Differentiates from libraries like lru-cache by its smaller footprint, TypeScript type definitions, and more straightforward API without external dependencies.