Home / npm packages / ts-loader

ts-loader source code

Every file of ts-loader@9.6.2 as published on npm: 43 files, 262 KB. Search them by exact text or regex, in milliseconds.

It uses: the fs module, crypto.

What ts-loader uses

APIIn ts-loader
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
NoWho does
the fs module
reads and writes files
Yes: 2 files
e.g. dist/instances.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/index.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
dist/servicesHost.js40 KB
CHANGELOG.md35 KB
README.md31 KB
dist/instances.js26 KB
dist/index.js25 KB
REFERENCES.md22 KB
dist/after-compile.js16 KB
dist/utils.js12 KB
dist/interfaces.d.ts11 KB
dist/watch-run.js7.0 KB
dist/config.js6.4 KB
package.json3.3 KB
AGENTS.md3.1 KB
dist/compilerSetup.js2.5 KB
dist/loaderUtils.js2.4 KB
dist/utils.d.ts2.3 KB
dist/instances.d.ts2.0 KB
dist/logger.js1.9 KB
eslint.config.mjs1.4 KB
dist/instance-cache.js1.3 KB
dist/servicesHost.d.ts1.3 KB
dist/constants.js1.3 KB
dist/config.d.ts1.1 KB
LICENSE1.1 KB
dist/constants.d.ts780 B
dist/compilerSetup.d.ts619 B
dist/after-compile.d.ts589 B
dist/loaderUtils.d.ts495 B
SECURITY.md488 B
dist/logger.d.ts471 B

Questions

How many files are in ts-loader?

Version 9.6.2 of ts-loader publishes 43 files of source, 262 KB in all, not counting images, fonts and source maps.

Does ts-loader use eval?

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

Does ts-loader start other programs?

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

Does ts-loader run an install script?

No: ts-loader 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