Skip to content
JS
Comparison

mockttp vs ts-mockito

TestingPackage data 25 Sept 2026
mockttpv4.6.3, 11 Sept 2026

Mock HTTP server for testing HTTP clients and stubbing webservices

$ npm install mockttp
ts-mockitov2.6.1, 8 Jun 2020

Mocking library for TypeScript

$ npm install ts-mockito
Metricmockttpts-mockitoDifference
Weekly downloads399,229172,040mockttp 2.3x higher
12-month download growth+42%+1%mockttp +40 pts
Gzip size---
Minified size---
Dependencies401mockttp 39 more
Unpacked size1.9 MB128 kBts-mockito 15.1x smaller
Latest release4.6.3, 11 Sept 20262.6.1, 8 Jun 2020mockttp 6.3 years more recent
Releases, last 12 months16--
First published9 Aug 2016--
GitHub stars884997ts-mockito +13%
Open issues3874ts-mockito 36 more
Open pull requests217ts-mockito 15 more
Contributors---
Commits, last 52 weeks1290mockttp higher
TypeScript typesBundledBundledSame
Module formatCommonJSCommonJSSame
Runtimes---
LicenseApache-2.0MITDiffers

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

mockttp399.2k latest weekts-mockito172k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

mockttp

Major versions
  1. 0.0.19 Aug 2016
  2. 1.0.021 Aug 2020
  3. 2.0.03 Jun 2021
  4. 3.0.029 Apr 2022
  5. 4.0.017 Jun 2025
Last 5 releases
  1. 4.6.311 Sept 2026
  2. 4.6.231 Aug 2026
  3. 4.6.121 Aug 2026
  4. 4.6.027 Jul 2026
  5. 3.17.227 Jul 2026
149 releases in total, 16 in the last 12 months

ts-mockito

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
mockttp

-

ts-mockito

-

mockttp

-

ts-mockito

-

  • Module formatBoth CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementmockttp: >=20.0.0; ts-mockito: none declared (engines field in package.json)
  • Need the more recent releasemockttp (4.6.3 on 11 Sept 2026 vs 2.6.1 on 8 Jun 2020)
  • Higher weekly npm downloadsmockttp (399.2k vs 172k)
  • Licensemockttp: Apache-2.0; ts-mockito: MIT

Each line is generated from the data above.

mockttp: mockttp npm registry, mockttp npm downloads, mockttp GitHub. Data fetched 25 Sept 2026.
ts-mockito: ts-mockito npm registry, ts-mockito npm downloads, ts-mockito GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.