Skip to content
JS
Package

cache2

一个简单的 JavaScript 缓存管理,支持浏览器端和 node 端。

v3.1.6, 2 Mar 2026MITESM + CommonJSTypes: BundledCachingState management
$ npm install cache2

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3kSept 2025Mar 2026Sept 2026High 2.7k (31 Mar 2026)Low 394 (17 Feb 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,851 downloads last week, 7,644 in the last month. The 12-month change of +48% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.1.6, 2 Mar 20266 months ago
First published
-
Last push to GitHub
5 Mar 2026204 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
12
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
Not declared
Runtimes
-
Unpacked size (npm)
206 kB
Dependencies (2)
tslibemitter-pro
npm install cache2
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cache2@3.1.6/
  • unpkghttps://unpkg.com/cache2@3.1.6/
  • esm.shhttps://esm.sh/cache2@3.1.6
PackageWeekly downloadsGzipLast releaseModuleComparison
@keyvhq/redis10.5k-1 month agoCommonJS-
@keyvhq/core82.5k-1 month agoCommonJS-
keyv-anyredis7.7k-3 years agoCommonJS-
@keyvhq/memoize74.8k-1 month agoCommonJS-
cache-base9.5m-4 years agoCommonJS-
ttl44k-8 years agoCommonJS-
@pinia/colada-plugin-retry5.1k-4 months agoESM only-
@pinia/colada-plugin-auto-refetch5.3k-1 day agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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