Skip to content
JS
Package

ts-mockito

Mocking library for TypeScript

v2.6.1, 8 Jun 2020MITCommonJSTypes: BundledTestingTypeScript tooling
$ npm install ts-mockito

Key numbers

As of 25 Sept 2026
Weekly downloads
172k
+1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
6 years ago
v2.6.1
GitHub stars
997
93 forks
Open issues / PRs
74 / 17
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300k400kSept 2025Mar 2026Sept 2026High 317.6k (21 Jul 2026)Low 110.6k (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.

172,040 downloads last week, 953,690 in the last month. The 12-month change of +1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.6.1, 8 Jun 20206 years ago
First published
-
Last push to GitHub
12 Feb 20231,320 days before the snapshot
Repository archived
No
Open issues
74
Open pull requests
17
Commits, last 52 weeks
0
Dependents on npm
56

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
128 kB
Dependencies (1)
lodash
npm install ts-mockito
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ts-mockito@2.6.1/
  • unpkghttps://unpkg.com/ts-mockito@2.6.1/
  • esm.shhttps://esm.sh/ts-mockito@2.6.1
PackageWeekly downloadsGzipLast releaseModuleComparison
ts-auto-mock27k-2 years ago--
strong-mock23.3k-4 months agoESM + CommonJS-
muk-prop17.1k-3 years agoCommonJS-
@factory-js/prisma-factory6.5k-7 months agoESM + CommonJS-
@jest-mock/express502.9k-1 year agoCommonJS-
vitest-mock-express18.5k-2 years agoESM only-
testdouble88.9k-3 days agoESM + CommonJS-
@web/dev-server-esbuild45.8k-2 months agoESM + CommonJS-

Related

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

Indexability: Indexed.