Skip to content
JS
Package

@mswjs/interceptors

Low-level network interception library for Node.js.

v0.45.1, 24 Sept 2026MITESM onlyTypes: BundledTestingDev servers and API mocking
$ npm install @mswjs/interceptors

Key numbers

As of 25 Sept 2026
Weekly downloads
15.6m
+155% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
6
Direct, from package.json
Last release
today
v0.45.1
GitHub stars
687
174 forks
Open issues / PRs
19 / 6
Contributors
-
Commits, last 52 weeks
82

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 23.4m (25 Aug 2026)Low 4.2m (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.

15,572,040 downloads last week, 81,505,420 in the last month. The 12-month change of +155% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
26206 in total
Latest version
0.45.1, 24 Sept 2026today
First published
22 Mar 2021
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
19
Open pull requests
6
Commits, last 52 weeks
82
Dependents on npm
106

Major versions

  1. v0 first release 0.7.0, 22 Mar 2021

Recent releases

VersionPublished
0.45.124 Sept 2026
0.45.021 Sept 2026
0.44.021 Sept 2026
0.43.218 Sept 2026
0.43.118 Sept 2026
0.43.016 Sept 2026
0.42.613 Sept 2026
0.42.510 Sept 2026
0.42.48 Sept 2026
0.42.324 Jul 2026
0.42.224 Jul 2026
0.42.122 Jul 2026
0.42.022 Jul 2026
0.41.911 May 2026
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22
Runtimes
-
Unpacked size (npm)
1.7 MB
Dependencies (6)
debugrettimeoutvariant@types/debugis-node-process@open-draft/until
npm install @mswjs/interceptors

CDN

jsDelivr: 1.8m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@mswjs/interceptors@0.45.1/
  • unpkghttps://unpkg.com/@mswjs/interceptors@0.45.1/
  • esm.shhttps://esm.sh/@mswjs/interceptors@0.45.1
PackageWeekly downloadsGzipLast releaseModuleComparison
xhr-mocklet332.8k-7 years agoESM + CommonJS-
fetch-mock-cache456.8k-2 months agoESM only-
mock-property450.6k-3 months agoCommonJS-
vitest-canvas-mock819.6k-20 days agoESM + CommonJS-
ng-mocks404.6k-6 days agoESM + CommonJS-
jest-websocket-mock212.9k-3 years agoESM + CommonJS-
jest-localstorage-mock281k-3 years agoESM + CommonJS-
jest-canvas-mock2m-2 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.