Gathering detailed insights and metrics for ts-jest
Gathering detailed insights and metrics for ts-jest
Gathering detailed insights and metrics for ts-jest
Gathering detailed insights and metrics for ts-jest
ts-jest-babel-7
A preprocessor with sourcemap support to help use Typescript with Jest
ts-jest-mock-import-meta
A simple Typescript AST transformer for ts-jest, that mock import.meta expressions.
@relmify/jest-fp-ts
Custom Jest matchers for projects using using fp-ts and io-ts
ts-jest-resolver
A resolver for `jest` that uses same strategy as TS when resolving files with JavaScript extension (".js").
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.
npm install ts-jest
Typescript
Module System
Min. Node Version
Node Version
NPM Version
68.2
Supply Chain
35.4
Quality
90.1
Maintenance
100
Vulnerability
96.4
License
TypeScript (96.24%)
JavaScript (2.3%)
CSS (1.46%)
Total Downloads
2,456,520,975
Last Day
2,840,740
Last Week
17,449,494
Last Month
77,747,877
Last Year
745,910,535
MIT License
7,033 Stars
4,669 Commits
459 Forks
31 Watchers
4 Branches
177 Contributors
Updated on May 31, 2025
Minified
Minified + Gzipped
Latest Version
29.3.4
Package Id
ts-jest@29.3.4
Unpacked Size
294.84 kB
Size
67.45 kB
File Count
97
NPM Version
10.8.2
Node Version
20.19.1
Published on
May 16, 2025
Cumulative downloads
Total Downloads
10
6
46
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.
It supports all features of TypeScript including type-checking. Read more about Babel7 + preset-typescript
vs TypeScript (and ts-jest
).
We are not doing semantic versioning and 23.10 is a re-write, run npm i -D ts-jest@"<23.10.0" to go back to the previous version |
---|
View the online documentation (usage & technical)
Ask for some help in the
Jest
Discord community or ts-jest
GitHub Discussion
Before reporting any issues, be sure to check the troubleshooting page
We're looking for collaborators! Want to help improve
ts-jest
?
These instructions will get you setup to use ts-jest
in your project. For more detailed documentation, please check online documentation.
using npm | using yarn | |
---|---|---|
Prerequisites | npm i -D jest typescript | yarn add --dev jest typescript |
Installing | npm i -D ts-jest @types/jest | yarn add --dev ts-jest @types/jest |
Creating config | npx ts-jest config:init | yarn ts-jest config:init |
Running tests | npm test or npx jest | yarn test or yarn jest |
ts-jest
- Jest transformer for TypeScript (yes, ts-jest
uses itself for its tests)Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We DO NOT use SemVer for versioning. Though you can think about SemVer when reading our version, except our major number follows the one of Jest. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-05-26
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
-3.2%
2,840,740
Compared to previous day
Last Week
-8.8%
17,449,494
Compared to previous week
Last Month
7.1%
77,747,877
Compared to previous month
Last Year
30.6%
745,910,535
Compared to previous year