Skip to content
JS
Package

lru_map

Finite key-value map using the Least Recently Used (LRU) algorithm where the most recently used objects are keept in the map while less recently used items are evicted to make room for new ones.

v0.4.1, 22 Oct 2020MITCommonJSTypes: BundledCaching
$ npm install lru_map

Key numbers

As of 25 Sept 2026
Weekly downloads
4.4m
+131% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v0.4.1
GitHub stars
798
88 forks
Open issues / PRs
3 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 6.4m (26 May 2026)Low 1.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

4,422,213 downloads last week, 20,069,495 in the last month. The 12-month change of +131% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
0.4.1, 22 Oct 20205 years ago
First published
16 Nov 2016
Last push to GitHub
12 Feb 2025589 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
157

Major versions

  1. v0 first release 0.3.0, 16 Nov 2016

Recent releases

VersionPublished
0.4.122 Oct 2020
0.4.09 Jul 2020
0.3.311 Mar 2017
0.3.216 Nov 2016
0.3.116 Nov 2016
0.3.016 Nov 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
27 kB
Dependencies (0)
None
npm install lru_map
  • jsDelivrhttps://cdn.jsdelivr.net/npm/lru_map@0.4.1/
  • unpkghttps://unpkg.com/lru_map@0.4.1/
  • esm.shhttps://esm.sh/lru_map@0.4.1
PackageWeekly downloadsGzipLast releaseModuleComparison
simple-lru-cache1.7m-11 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.