ylru is a lightweight and fast Least Recently Used (LRU) cache implementation. Designed for efficient memory management, it stores a limited number of key-value pairs, automatically evicting the least recently accessed items when the cache is full. This package provides optimized performance for applications requiring quick data retrieval while conserving memory. Ideal for caching frequently used data, reducing database load, and accelerating application responsiveness. It's configurable with maximum size options for tailored performance.
The npm package ylru has sporadic releases. Initial releases occurred in December 2016, followed by updates in July 2017 and July 2018. After a long pause, there were releases in March 2022, March 2024, and June 2024, with no releases observed since. Most months have no releases.
ylru npm package downloads show a generally upward trend from March 2024 to July 2025, peaking at 16.4 million. August 2025 downloads are lower at 14.1 million, but the month is not yet complete. The package experienced significant growth in late 2024 and early 2025.