Skip to content
JS
Package

fetch-mock

Mock http requests made using fetch

v12.6.0, 30 Oct 2025MIT-Types: -Testing
$ npm install fetch-mock

Key numbers

As of 25 Sept 2026
Weekly downloads
1.2m
+14% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
10 months ago
v12.6.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.3m (3 Mar 2026)Low 378.6k (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.

1,238,945 downloads last week, 4,601,035 in the last month. The 12-month change of +14% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
3207 in total
Latest version
12.6.0, 30 Oct 202510 months ago
First published
3 May 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
228

Major versions

  1. v12 first release 12.0.0, 24 Oct 2024
  2. v11 first release 11.0.0, 3 Aug 2024
  3. v10 first release 10.0.0, 15 Jun 2024
  4. v9 first release 9.0.0, 29 Feb 2020
  5. v8 first release 8.0.0, 12 Nov 2019
  6. v7 first release 7.0.0, 24 Sept 2018
  7. v6 first release 6.0.0, 22 Jan 2018
  8. v5 first release 5.0.0, 14 Jul 2016
  9. v4 first release 4.0.0, 30 Dec 2015
  10. v3 first release 3.0.0, 28 Nov 2015
  11. v2 first release 2.0.1, 25 Sept 2015
  12. v1 first release 1.0.0, 3 May 2015

Recent releases

VersionPublished
12.6.030 Oct 2025
12.5.629 Oct 2025
12.5.522 Oct 2025
12.5.428 Aug 2025
12.5.317 Jun 2025
12.5.23 Mar 2025
12.5.11 Mar 2025
12.4.023 Feb 2025
12.3.04 Feb 2025
12.2.128 Jan 2025
12.2.015 Nov 2024
12.1.08 Nov 2024
12.0.228 Oct 2024
12.0.127 Oct 2024
Module format
-Not determined from package.json
TypeScript types
-
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install fetch-mock
  • jsDelivrhttps://cdn.jsdelivr.net/npm/fetch-mock@12.6.0/
  • unpkghttps://unpkg.com/fetch-mock@12.6.0/
  • esm.shhttps://esm.sh/fetch-mock@12.6.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.