Skip to content
JS
Package

map-lru

"Least Recently Used" (LRU) cache compatible to ES6 Map

v2.1.0, 14 Aug 2024UnlicenseESM + CommonJSTypes: BundledCaching
$ npm install map-lru

Key numbers

As of 25 Sept 2026
Weekly downloads
2k
+10% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v2.1.0
GitHub stars
0
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6k8kSept 2025Mar 2026Sept 2026High 7.3k (11 Nov 2025)Low 1.1k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,998 downloads last week, 12,087 in the last month. The 12-month change of +10% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.1.0, 14 Aug 20242 years ago
First published
-
Last push to GitHub
14 Aug 2024771 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
5

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
20 kB
Dependencies (0)
None
npm install map-lru
  • jsDelivrhttps://cdn.jsdelivr.net/npm/map-lru@2.1.0/
  • unpkghttps://unpkg.com/map-lru@2.1.0/
  • esm.shhttps://esm.sh/map-lru@2.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
lru-map-like11.1k-9 years agoCommonJS-
@alloc/quick-lru51.1m-24 days ago--
quick-lru33.3m-11 months agoESM only-
lru-cache415.3m-6 days agoESM + CommonJS-
lru.min9.7m-23 days agoESM + CommonJS-
@wolfy1339/lru-cache538.9k-1 year agoESM + CommonJS-
@posva/lru-cache7.6k-3 years agoESM + CommonJS-
tmp-cache92.2k-6 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1998 < 10000.