Package
mitm
Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 30.4k
- -50% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 2 years ago
- v1.7.3
- GitHub stars
- 659
- 50 forks
- Open issues / PRs
- 13 / 2
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
30,375 downloads last week, 162,984 in the last month. The 12-month change of -50% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.7.3, 26 Aug 20242 years ago
- First published
- -
- Last push to GitHub
- 26 Aug 2024760 days before the snapshot
- Repository archived
- No
- Open issues
- 13
- Open pull requests
- 2
- Commits, last 52 weeks
- 0
- Dependents on npm
- 39
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >= 0.10.24
- Runtimes
- -
- Unpacked size (npm)
- 57 kB
- Dependencies (1)
semver
npm install mitm- jsDelivr
https://cdn.jsdelivr.net/npm/mitm@1.7.3/ - unpkg
https://unpkg.com/mitm@1.7.3/ - esm.sh
https://esm.sh/mitm@1.7.3
Indexability: Indexed.