Preparing for system design interviews?  Try bugzed.com →

nanolru

JSON →
library 1.0.0 ·javascript
verified Jun 7, 2026

A simple O(1) LRU cache for Node.js, version 1.0.0 (stable). Forked from 'lru' to remove the dependency on 'events', providing a minimal, zero-dependency implementation. Supports set, get, peek, remove, and clear operations with configurable max size and optional max age for automatic eviction. Suitable for scenarios requiring a lightweight, fast LRU cache without external dependencies.

total hits 15
actors 4 distinct systems
last hit 12d ago AhrefsBot
GPTBot
3
Amazonbot
3
ByteDance
3
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇫🇷 France · AR · 🇨🇦 Canada