Skip to content
JS
Package

lazy-cache

Cache requires to be lazy-loaded when needed.

v2.0.2, 8 Nov 2016MITCommonJSTypes: NoneCaching
$ npm install lazy-cache

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 8.4m (16 Jun 2026)Low 3.3m (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.

7,277,710 downloads last week, 28,483,879 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
017 in total
Latest version
2.0.2, 8 Nov 20169 years ago
First published
1 Jun 2015
Last push to GitHub
15 Mar 20231,289 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
378

Major versions

  1. v2 first release 2.0.0, 29 Apr 2016
  2. v1 first release 1.0.0, 8 Dec 2015
  3. v0 first release 0.1.0, 1 Jun 2015

Recent releases

VersionPublished
2.0.28 Nov 2016
2.0.12 May 2016
2.0.029 Apr 2016
1.0.423 Apr 2016
1.0.320 Dec 2015
1.0.29 Dec 2015
0.2.79 Dec 2015
1.0.19 Dec 2015
0.2.69 Dec 2015
1.0.08 Dec 2015
0.2.58 Dec 2015
0.2.424 Oct 2015
0.2.321 Aug 2015
0.2.219 Aug 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (1)
set-getter
npm install lazy-cache
  • jsDelivrhttps://cdn.jsdelivr.net/npm/lazy-cache@2.0.2/
  • unpkghttps://unpkg.com/lazy-cache@2.0.2/
  • esm.shhttps://esm.sh/lazy-cache@2.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
http-vary140.9k-8 months agoESM + CommonJS-
require-and-forget477.8k-8 days agoCommonJS-
object-code233.5k--ESM + CommonJS-
cache-parser220.4k--ESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.