Package
testdouble
A minimal test double library for TDD with JavaScript
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/testdouble@3.21.0/ - unpkg
https://unpkg.com/testdouble@3.21.0/ - esm.sh
https://esm.sh/testdouble@3.21.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| ts-mockito | 172k | - | 6 years ago | CommonJS | - |
| strong-mock | 23.3k | - | 4 months ago | ESM + CommonJS | - |
| ts-auto-mock | 27k | - | 2 years ago | - | - |
| muk-prop | 17.1k | - | 3 years ago | CommonJS | - |
| mountebank | 17.4k | - | 3 years ago | CommonJS | - |
| mongodb-memory-server-global | 27.3k | - | 3 days ago | CommonJS | - |
| mockttp | 399.2k | - | 13 days ago | CommonJS | - |
| sinon-express-mock | 18.8k | - | 7 years ago | CommonJS | - |
Indexability: Indexed.