Lru Cache

Lru Cache

Least-recently-used cache object for JavaScript, evicting the least recently used entries when the size or age limit is reached, with configurable max size, TTL and per-entry expiry.

Lru Cache: Lru-cache at github.com/isaacs/node-lru-cache is a free BlueOak-1.0.0 least-recently-used cache object for JavaScript, npm lru-cache 11.5.3 Node.js 20 or >= 22, evicts least recently used entries at size or age limits with configurable TTL and per-entry expiry, no sold commercial tier (data as of Nov 22, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is Lru Cache free?

Lru Cache: Lru-cache is free open-source software released under the BlueOak-1.0.0 License; the lru-cache package latest 11.5.3 on npm requires Node.js 20 or >= 22. It keeps a bounded cache ordered by most recent use, evicting the least recently used entries when the max size or age limit is reached, with per-entry TTL, stale-while-revalidate options and explicit delete or clear controls, so hot data stays in memory without unbounded growth. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.

Frequently Asked Questions

Is Lru Cache free?

It depends on the licence. Blue Oak Model License 1.0.0 licensed LRU cache; there is no paid tier, and commercial use follows the BlueOak-1.0.0 terms.

How much does Lru Cache cost?

Lru-cache is free open-source software released under the BlueOak-1.0.0 License; the lru-cache package latest 11.5.3 on npm requires Node.js 20 or >= 22. It keeps a bounded cache ordered by most recent use, evicting the least recently used entries when the max size or age limit is reached, with per-entry TTL, stale-while-revalidate options and explicit delete or clear controls, so hot data stays in memory without unbounded growth. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check Lru Cache's current pricing?

On Lru Cache's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is Lru Cache?

Entries are tracked in an internal ordering by access time; when a set operation would exceed the configured max, the oldest entry is removed, and TTL options drop stale entries on read or write; methods expose get, set, delete, has, peek and clear so callers can inspect and manage the cache directly.

How does pricing work?

The package installs free under the BlueOak-1.0.0 license with no seat license; it caches in-process memory, and commercial support would be outside the open-source project.

How does Lru Cache compare with other tools in Dev Workflow & Productivity?

Lru Cache is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
Lru CacheOpen sourceLru-cache is free open-source software released under the BlueOak-1.0.0 License; the lru-cache package latest 11.5.3 on npm requires Node.js 20 or >= 22. It keeps a bounded cache ordered by most recent use, evicting the least recently used entries when the max size or age limit is reached, with per-entry TTL, stale-while-revalidate options and explicit delete or clear controls, so hot data stays in memory without unbounded growth. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
Quick LruOpen sourceQuick-lru is free open-source software released under the MIT License; the quick-lru package latest 8.0.0 on npm requires Node.js >= 22. It keeps a simple bounded map ordered by most recent use, evicting the least recent entry when the max size is reached, with a small dependency-free footprint suitable for fast in-memory caches where a full-featured LRU implementation is unnecessary. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
MnemonistOpen sourceMnemonist is free open-source software released under the MIT License; the mnemonist package latest 0.40.8 on npm has no declared Node engines. It bundles optimized JavaScript and TypeScript implementations of common data structures such as LRU caches, heaps, tries, queues, maps and sets, each exposed as a small dedicated class so algorithms and application code can pick the right structure without pulling a generic toolkit. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026

3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

Lru Cache: Blue Oak Model License 1.0.0 licensed LRU cache; there is no paid tier, and commercial use follows the BlueOak-1.0.0 terms. Check the official site for any hosted plan.

Open source does not always mean every hosted version is free.

Key pricing: Lru-cache is free open-source software released under the BlueOak-1.0.0 License; the lru-cache package latest 11.5.3 on npm requires Node.js 20 or >= 22. It keeps a bounded cache ordered by most recent use, evicting the least recently used entries when the max size or age limit is reached, with per-entry TTL, stale-while-revalidate options and explicit delete or clear controls, so hot data stays in memory without unbounded growth. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websitegithub.com
  • CategoryDev Workflow & Productivity
  • PricingOpen Source
  • Price checkedNov 22, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates