Skip to content
JS
Package

fetch-mock-cache

Caching mock fetch implementation for all runtimes and frameworks.

v3.1.0, 11 Jul 2026MITESM onlyTypes: BundledTestingDev servers and API mocking
$ npm install fetch-mock-cache

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 456.8k (15 Sept 2026)Low 919 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

456,829 downloads last week, 1,344,323 in the last month. The 12-month change of +15640% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
514 in total
Latest version
3.1.0, 11 Jul 20262 months ago
First published
11 Oct 2024
Last push to GitHub
11 Jul 202675 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
72
Dependents on npm
0

Major versions

  1. v3 first release 3.0.3, 8 Jul 2026
  2. v2 first release 2.0.0, 11 Oct 2024

Recent releases

VersionPublished
3.1.011 Jul 2026
3.0.48 Jul 2026
3.0.38 Jul 2026
2.3.111 Oct 2025
2.3.05 Oct 2025
2.2.016 Aug 2025
2.1.327 Feb 2025
2.1.227 Feb 2025
2.1.127 Feb 2025
2.1.026 Oct 2024
2.0.324 Oct 2024
2.0.214 Oct 2024
2.0.111 Oct 2024
2.0.011 Oct 2024
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.0.0
Runtimes
-
Unpacked size (npm)
83 kB
Dependencies (2)
debugfilenamify-url
npm install fetch-mock-cache
  • jsDelivrhttps://cdn.jsdelivr.net/npm/fetch-mock-cache@3.1.0/
  • unpkghttps://unpkg.com/fetch-mock-cache@3.1.0/
  • esm.shhttps://esm.sh/fetch-mock-cache@3.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
jest-mock-vscode26k-1 month agoCommonJS-
jest-useragent-mock46.6k-6 years agoCommonJS-
jest-websocket-mock212.9k-3 years agoESM + CommonJS-
jest-google-maps-mock5k-5 years agoCommonJS-
jest-localstorage-mock281k-3 years agoESM + CommonJS-
mock-match-media31.2k-11 months agoESM + CommonJS-
jest-canvas-mock2m-2 months agoCommonJS-
jest-launchdarkly-mock76.6k-6 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.