CodeBrowser / npm / lru-queue
lru-queue@0.1.0
// LRU Queue
$ npm install lru-queue
downloads/wk
5,288,284
license
MIT
version
0.1.0
published
Apr 26, 2014
What is lru-queue?
LRU Queue is a package that implements a Least Recently Used cache data structure, automatically removing the oldest accessed items when the cache reaches its size limit. Developers use it to efficiently manage memory in applications that need fast access to frequently used data while discarding stale entries automatically. It's useful for scenarios like caching API responses, database query results, or any situation where you need bounded storage with predictable memory usage.
Keywords
#lru #cache #queue
Dependencies (1)
Maintainers
medikoo