adequate-cache

JSON →
library 1.1.0 ·javascript
verified Jun 7, 2026

A lightweight, in-memory Node.js cache library with LRU eviction and TTL support, written in TypeScript (types included). Current stable version is 1.1.0 (released 2021-10-14). It has zero dependencies, a simple synchronous API (get/set/del/has/keys), and an optional async 'provider' helper to reduce boilerplate for cache-aside patterns. Unlike more complex caching solutions (e.g., node-cache or lru-cache), it focuses on a minimal, intuitive interface with full TypeScript typings. Release cadence is low (a few updates per year).