NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1076 most downloaded on npm
Simple “Least Recently Used” (LRU) cache
Last release 11 months ago
10 Oct 2025
Release timing varies
gaps range from 2 weeks to 1.6 years
Nearly every release is documented
notes for 18 of 20 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
20 releases · first in 2017
Add .maxAge getter ( #54 ) 9cc10b4
Add evict() method to remove least recently used items 647fdea
One column per quarter.
Add .expiresIn() method ( #53 ) 6c0efa5
Fix logging the class instance when there are circular objects cc1f31a
Breaking Require Node.js 18 f0bbe48 Improvements Add .maxSize getter 187fa5b v6.1.2...v7.0.0
Fix return value for set() method e964346
set() method e964346Fix internal usage of toStringTag ( #39 ) 95593b6
Make QuickLRU a Map subclass ( #37 ) 2dd5b52
Fix incorrect maxAge being set when used on .set() ( #36 ) 6a9c875
Fix expiration time not being set when setting the value the second time ( #33 ) 6033bb7
This package is now pure ESM. Please read this. If you cannot move to ESM and want the new improvements, there's a fork that backports them: npm i @al
npm i @alloc/quick-lru.maxAge option (#27) 85f49e2.resize() method (#24) debb8de.size (#23) 608e459https://github.com/sindresorhus/quick-lru/compare/v5.1.1...v6.0.0
Ensure TypeScript generics are propagated to options (#21) 0e67d68
https://github.com/sindresorhus/quick-lru/compare/v5.1.0...v5.1.1
Add `onEviction` option (#20) b941c2f
onEviction option (#20) b941c2fhttps://github.com/sindresorhus/quick-lru/compare/v5.0.0...v5.1.0
Fix .size not matching the maxSize option (#16) e5b868b
.size not matching the maxSize option (#16) e5b868bhttps://github.com/sindresorhus/quick-lru/compare/v4.0.1...v5.0.0
Fix cache size becoming double of the defined size (#13) d6c7e11
https://github.com/sindresorhus/quick-lru/compare/v4.0.0...v4.0.1
Breaking for TypeScript users only:
Breaking for TypeScript users only:
import quickLru from 'quick-lru'; to import quickLru = require('quick-lru');https://github.com/sindresorhus/quick-lru/compare/v3.0.0...v4.0.0
Require Node.js 8 (#11) 99cf7d4
Breaking:
Enhancements:
Return a boolean from .delete() indicating whether the item was deleted (#9) afc977b
Breaking:
Other:
.delete() indicating whether the item was deleted (#9) afc977bNothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →