Skip to content
JS
Package

testdouble

A minimal test double library for TDD with JavaScript

v3.21.0, 21 Sept 2026MITESM + CommonJSTypes: BundledTestingDev servers and API mocking
$ npm install testdouble

Key numbers

As of 25 Sept 2026
Weekly downloads
88.9k
-46% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
3 days ago
v3.21.0
GitHub stars
1.4k
140 forks
Open issues / PRs
34 / 0
Contributors
-
Commits, last 52 weeks
14

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300kSept 2025Mar 2026Sept 2026High 200.1k (24 Feb 2026)Low 56.4k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

88,936 downloads last week, 405,870 in the last month. The 12-month change of -46% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.21.0, 21 Sept 20263 days ago
First published
-
Last push to GitHub
21 Sept 20263 days before the snapshot
Repository archived
No
Open issues
34
Open pull requests
0
Commits, last 52 weeks
14
Dependents on npm
45

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 16
Runtimes
-
Unpacked size (npm)
454 kB
Dependencies (4)
lodashquibbletheredocstringify-object-es5
npm install testdouble
  • jsDelivrhttps://cdn.jsdelivr.net/npm/testdouble@3.21.0/
  • unpkghttps://unpkg.com/testdouble@3.21.0/
  • esm.shhttps://esm.sh/testdouble@3.21.0
PackageWeekly downloadsGzipLast releaseModuleComparison
ts-mockito172k-6 years agoCommonJS-
strong-mock23.3k-4 months agoESM + CommonJS-
ts-auto-mock27k-2 years ago--
muk-prop17.1k-3 years agoCommonJS-
mountebank17.4k-3 years agoCommonJS-
mongodb-memory-server-global27.3k-3 days agoCommonJS-
mockttp399.2k-13 days agoCommonJS-
sinon-express-mock18.8k-7 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.