Skip to content
JS
Package

cache-base

Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.

v4.0.2, 6 Nov 2021MITCommonJSTypes: NoneCachingState management
$ npm install cache-base

Key numbers

As of 25 Sept 2026
Weekly downloads
9.5m
-12% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
8
Direct, from package.json
Last release
4 years ago
v4.0.2
GitHub stars
57
19 forks
Open issues / PRs
2 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 14.5m (21 Oct 2025)Low 4.7m (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.

9,530,356 downloads last week, 37,765,677 in the last month. The 12-month change of -12% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
023 in total
Latest version
4.0.2, 6 Nov 20214 years ago
First published
12 Oct 2014
Last push to GitHub
1 Apr 20221,637 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
663

Major versions

  1. v4 first release 4.0.0, 30 Mar 2018
  2. v3 first release 3.0.0, 23 Mar 2018
  3. v2 first release 2.0.0, 18 Dec 2017
  4. v1 first release 1.0.0, 25 Feb 2017
  5. v0 first release 0.1.0, 12 Oct 2014

Recent releases

VersionPublished
4.0.26 Nov 2021
4.0.030 Mar 2018
3.0.023 Mar 2018
2.0.219 Dec 2017
2.0.118 Dec 2017
2.0.018 Dec 2017
1.0.122 Jul 2017
1.0.025 Feb 2017
0.8.525 Feb 2017
0.8.430 May 2016
0.8.321 Apr 2016
0.8.22 Mar 2016
0.8.129 Feb 2016
0.8.09 Feb 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6
Runtimes
-
Unpacked size (npm)
25 kB
Dependencies (8)
kind-ofget-valueset-valueunion-valueunset-valuehas-own-deepcollection-visit@sellside/emitter
npm install cache-base
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cache-base@4.0.2/
  • unpkghttps://unpkg.com/cache-base@4.0.2/
  • esm.shhttps://esm.sh/cache-base@4.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
cache-point256.5k-1 year agoESM + CommonJS-
rememo106.9k-3 months agoESM only-
cache-control-parser128.5k-7 months agoCommonJS-
http-vary140.9k-8 months agoESM + CommonJS-
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.