Package
ts-mock-imports
Intuitive mocking for Typescript class imports
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 60k
- +52% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 11 months ago
- v1.3.19
- GitHub stars
- 111
- 7 forks
- Open issues / PRs
- 0 / 2
- Contributors
- -
- Commits, last 52 weeks
- 24
Downloads
Last week 2026-09-15 to 2026-09-21
59,976 downloads last week, 273,850 in the last month. The 12-month change of +52% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.3.19, 11 Oct 202511 months ago
- First published
- -
- Last push to GitHub
- 13 Sept 202611 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 2
- Commits, last 52 weeks
- 24
- Dependents on npm
- 9
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)
- 53 kB
- Dependencies (0)
- None
- Peer dependencies (2)
sinontypescript
npm install ts-mock-imports- jsDelivr
https://cdn.jsdelivr.net/npm/ts-mock-imports@1.3.19/ - unpkg
https://unpkg.com/ts-mock-imports@1.3.19/ - esm.sh
https://esm.sh/ts-mock-imports@1.3.19
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| moq.ts | 63.2k | - | 3 years ago | ESM + CommonJS | - |
| ts-mocha | 483.1k | - | 1 year ago | CommonJS | - |
| tstyche | 55.5k | - | 15 days ago | ESM + CommonJS | - |
| type-plus | 46.9k | - | 2 years ago | ESM + CommonJS | - |
| @gatling.io/core | 18.4k | - | 1 day ago | CommonJS | - |
| @gatling.io/jvm-types | 18.3k | - | 1 day ago | - | - |
| @gatling.io/http | 18.3k | - | 1 day ago | CommonJS | - |
| @gatling.io/cli | 17.9k | - | 1 day ago | CommonJS | - |
Indexability: Indexed.