lru-map-like

JSON →
library 2.0.0 ·javascript
verified Jun 7, 2026

A lightweight LRU cache implementation with a Map-like interface that supports non-string keys including objects. Version 2.0.0 is the current stable release. The package is tiny (~2KB gzipped) compared to alternatives like node-lru-cache (~10KB gzipped). It prioritizes minimal bundle size while providing essential cache features with strong TypeScript support. Releases are infrequent.