Skip to content
JS
Package

tiny-lru

A fast, lightweight LRU (Least Recently Used) cache for JavaScript with O(1) operations and optional TTL support.

v13.0.1, 15 Sept 2026BSD-3-ClauseESM + CommonJSTypes: BundledCaching
$ npm install tiny-lru

Key numbers

As of 25 Sept 2026
Weekly downloads
2.9m
+259% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
9 days ago
v13.0.1
GitHub stars
184
27 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
119

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5.7m (25 Aug 2026)Low 644.4k (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.

2,949,137 downloads last week, 17,161,001 in the last month. The 12-month change of +259% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
5118 in total
Latest version
13.0.1, 15 Sept 20269 days ago
First published
26 Jul 2013
Last push to GitHub
23 Sept 20261 day before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
119
Dependents on npm
142

Major versions

  1. v13 first release 13.0.0, 29 Mar 2026
  2. v12 first release 12.0.0, 29 Mar 2026
  3. v11 first release 11.0.0, 7 Apr 2023
  4. v10 first release 10.0.0, 28 Oct 2022
  5. v9 first release 9.0.0, 21 Sept 2022
  6. v8 first release 8.0.0, 13 Feb 2022
  7. v7 first release 7.0.0, 27 Sept 2019
  8. v6 first release 6.0.0, 22 Jan 2019
  9. v5 first release 5.0.0, 9 Dec 2018
  10. v4 first release 4.0.0, 5 Dec 2018
  11. v3 first release 3.0.0, 24 Nov 2018
  12. v2 first release 2.0.0, 21 Nov 2018
  13. v1 first release 1.0.0, 26 Jul 2013

Recent releases

VersionPublished
13.0.115 Sept 2026
13.0.029 Mar 2026
12.0.029 Mar 2026
11.4.714 Jan 2026
11.4.614 Jan 2026
11.4.513 Aug 2025
11.4.413 Aug 2025
11.4.310 Aug 2025
11.4.210 Aug 2025
11.4.110 Aug 2025
11.4.09 Aug 2025
11.3.416 Jul 2025
11.3.318 Jun 2025
11.3.219 May 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=14
Runtimes
-
Unpacked size (npm)
60 kB
Dependencies (0)
None
npm install tiny-lru
  • jsDelivrhttps://cdn.jsdelivr.net/npm/tiny-lru@13.0.1/
  • unpkghttps://unpkg.com/tiny-lru@13.0.1/
  • esm.shhttps://esm.sh/tiny-lru@13.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.