rsms/js-lru

rsms/js-lru

Releases0
Stars799
A fast, simple & universal Least Recently Used (LRU) map for JavaScript

Linked projects

Finite key-value map using the Least Recently Used (LRU) algorithm where the most recently used objects are keept in the map while less recently used items are evicted to make room for new ones.
finite key-value cache using the Least Recently Used (LRU) algorithm where the most recently used objects are keept in cache while less recently used items are purged