lru.min

JSON →
library 1.1.4 ·javascript
verified Jun 7, 2026

lru.min is a fast, efficient, and lightweight LRU (Least Recently Used) cache library for JavaScript. Current stable version is 1.1.4. It supports Node.js (>=8), Bun, Deno, and browsers with ES6+. Unlike other LRU caches, it offers high compatibility and performance comparable to popular alternatives. It ships TypeScript types and has a simple API with features like resize, peek, and eviction callbacks. Development is active with regular updates on GitHub.