simple-in-memory-cache

JSON →
library 0.4.0 ·javascript maintenance
verified Jun 7, 2026

A minimal in-memory cache library for Node.js and the browser, supporting time-based expiration (TTL) policies. Version 0.4.0 provides a simple key-value store with configurable default expiration and per-item overrides, type definitions shipped, and zero dependencies. Designed for lightweight caching needs where full-featured solutions like lru-cache or node-cache are overkill, with a focus on a clean API and ease of use. Last updated in 2020, it is considered stable but in maintenance mode.