Home / npm packages / ts-jest

ts-jest source code

Every file of ts-jest@29.4.14 as published on npm: 100 files, 329 KB. Search them by exact text or regex, in milliseconds.

It uses: process.env, the fs module, crypto.

What ts-jest uses

APIIn ts-jest
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
Yes: 3 files
e.g. dist/utils/backports.js
See the lines
the fs module
reads and writes files
Yes: 4 files
e.g. dist/legacy/config/config-set.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
Yes: 1 file
e.g. dist/utils/sha1.js
See the lines
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
CHANGELOG.md108 KB
dist/legacy/compiler/ts-compiler.js33 KB
dist/legacy/config/config-set.js27 KB
dist/raw-compiler-options.d.ts23 KB
dist/legacy/ts-jest-transformer.js14 KB
dist/types.d.ts10 KB
dist/legacy/compiler/ts-compiler.d.ts7.6 KB
dist/transpilers/typescript/transpile-module.js7.6 KB
dist/utils/messages.js7.4 KB
dist/cli/config/migrate.js7.2 KB
dist/presets/create-jest-preset.js6.8 KB
dist/transformers/hoist-jest.js6.3 KB
dist/utils/importer.js6.1 KB
dist/cli/config/init.js5.8 KB
README.md5.3 KB
dist/utils/backports.js4.5 KB
CONTRIBUTING.md4.5 KB
package.json4.2 KB
dist/config/paths-to-module-name-mapper.js2.6 KB
dist/utils/memoize.js2.3 KB
dist/cli/index.js2.3 KB
dist/presets/create-jest-preset.d.ts2.2 KB
dist/cli/helpers/presets.js2.0 KB
dist/legacy/config/config-set.d.ts1.7 KB
dist/legacy/ts-jest-transformer.d.ts1.5 KB
dist/index.js1.4 KB
dist/presets/all-presets.js1.4 KB
dist/legacy/compiler/compiler-utils.js1.4 KB
dist/constants.js1.4 KB
dist/utils/ts-error.js1.2 KB

Questions

How many files are in ts-jest?

Version 29.4.14 of ts-jest publishes 100 files of source, 329 KB in all, not counting images, fonts and source maps.

Does ts-jest use eval?

No: ts-jest doesn't call eval() anywhere in its published files.

Does ts-jest start other programs?

No: ts-jest doesn't use child_process anywhere in its published files.

Does ts-jest run an install script?

No: ts-jest has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine