Quick Lru
Simple lightweight LRU cache for JavaScript, keeping a bounded map of recently used entries with fast eviction of the least recent item, aimed at small in-memory caches with minimal overhead.
Quick Lru: Quick-lru at github.com/sindresorhus/quick-lru is a free MIT simple lightweight LRU cache for JavaScript, npm quick-lru 8.0.0 Node.js >= 22, keeps a bounded map of recently used entries with fast eviction of the least recent item for minimal-overhead in-memory caches, no sold commercial tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is Quick Lru free?
Quick Lru: Quick-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). Check the official page for current status before relying on it.
Frequently Asked Questions
Is Quick Lru free?
The code is free to self-host, but a hosted plan from the vendor may not be. Quick Lru publishes its source, so cost depends on where you run it.
How much does Quick Lru cost?
Quick-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). 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 Quick Lru's current pricing?
On Quick Lru'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 Quick Lru?
The cache wraps a Map and tracks insertion and access order; a new entry or read moves the item to the recent end, and once the size exceeds the configured max the oldest entry is dropped, exposing get, set, has, delete and clear for the common cache operations.
How does pricing work?
The package installs free under MIT with no seat license; it caches in-process memory, and commercial support would be outside the open-source project.
How does Quick Lru compare with other tools in Dev Workflow & Productivity?
Quick Lru 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.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| Quick Lru | Open source | Quick-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 |
| Lru Cache | Open source | 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). | Nov 22, 2026 |
| P Memoize | Open source | P-memoize is free open-source software released under the MIT License; the p-memoize package latest 9.0.0 on npm requires Node.js >= 22. It memoizes promise-returning and async functions, caching resolved results under an argument-derived key with a configurable LRU cache and TTL, and keeps concurrent calls consistent so the same pending promise is reused until it settles. 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
Quick Lru's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: Quick-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).
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.
Current Alternatives
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.
P Memoize
Memoization wrapper for promise-returning and async functions, caching resolved results by argument key with an LRU cache and optional TTL, while handling concurrent in-flight calls and rejected promises predictably.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
