Skip to content
JS
Package

mockttp

Mock HTTP server for testing HTTP clients and stubbing webservices

v4.6.3, 11 Sept 2026Apache-2.0CommonJSTypes: BundledTestingDev servers and API mocking
$ npm install mockttp

Key numbers

As of 25 Sept 2026
Weekly downloads
399.2k
+42% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
40
Direct, from package.json
Last release
13 days ago
v4.6.3
GitHub stars
884
113 forks
Open issues / PRs
38 / 2
Contributors
-
Commits, last 52 weeks
129

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 574.5k (2 Jun 2026)Low 102.4k (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.

399,229 downloads last week, 1,644,054 in the last month. The 12-month change of +42% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
16149 in total
Latest version
4.6.3, 11 Sept 202613 days ago
First published
9 Aug 2016
Last push to GitHub
22 Sept 20262 days before the snapshot
Repository archived
No
Open issues
38
Open pull requests
2
Commits, last 52 weeks
129
Dependents on npm
64

Major versions

  1. v4 first release 4.0.0, 17 Jun 2025
  2. v3 first release 3.0.0, 29 Apr 2022
  3. v2 first release 2.0.0, 3 Jun 2021
  4. v1 first release 1.0.0, 21 Aug 2020
  5. v0 first release 0.0.1, 9 Aug 2016

Recent releases

VersionPublished
4.6.311 Sept 2026
4.6.231 Aug 2026
4.6.121 Aug 2026
4.6.027 Jul 2026
3.17.227 Jul 2026
4.5.09 Jul 2026
4.4.221 May 2026
4.4.18 May 2026
4.4.07 May 2026
4.3.25 May 2026
4.3.116 Apr 2026
4.3.030 Mar 2026
4.2.310 Mar 2026
4.2.26 Mar 2026
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20.0.0
Runtimes
-
Unpacked size (npm)
1.9 MB
Dependencies (40)
wscorslodashsemverconnectexpressgraphqlget-port@types/cors@types/nodeasync-mutexcommon-tagsgraphql-tagmilliparsecgraphql-httphttp-encodinghttp2-wrapperisomorphic-ws@peculiar/x509fast-json-patchpac-proxy-agentcacheable-lookup@httptoolkit/utilhttps-proxy-agentnative-duplexpairsocks-proxy-agentbase64-arraybufferdestroyable-server@peculiar/asn1-x509urlpattern-polyfill@graphql-tools/utils@peculiar/asn1-pkcs8parse-multipart-data@graphql-tools/schema@peculiar/asn1-schemagraphql-subscriptionsread-tls-client-hello@httptoolkit/httpolyglot@httptoolkit/websocket-stream@httptoolkit/subscriptions-transport-ws
npm install mockttp
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mockttp@4.6.3/
  • unpkghttps://unpkg.com/mockttp@4.6.3/
  • esm.shhttps://esm.sh/mockttp@4.6.3
PackageWeekly downloadsGzipLast releaseModuleComparison
mockserver-node9.7k-9 days ago--
mockserver-client95.8k-9 days ago--
muk-prop17.1k-3 years agoCommonJS-
oauth2-mock-server143.4k-20 days agoESM only-
mongodb-memory-server-global27.3k-3 days agoCommonJS-
ts-mockito172k-6 years agoCommonJSmockttp vs ts-mockito
strong-mock23.3k-4 months agoESM + CommonJS-
mountebank17.4k-3 years agoCommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.