Home / npm packages / @types/node

@types/node source code

Every file of @types/node@26.6.4 as published on npm: 92 files, 2.5 MB. Search them by exact text or regex, in milliseconds.

It uses: eval(), child_process, process.env, the fs module, http / https, fetch(), crypto, WebAssembly.

What @types/node uses

APIIn @types/node
eval()
runs a string as JavaScript
Yes: 2 files
e.g. node/repl.d.ts
See the lines
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
Yes: 8 files
e.g. node/child_process.d.ts
See the lines
process.env
reads environment variables
Yes: 10 files
e.g. node/child_process.d.ts
See the lines
the fs module
reads and writes files
Yes: 20 files
e.g. node/async_hooks.d.ts
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 7 files
e.g. node/async_hooks.d.ts
See the lines
fetch()
makes HTTP requests
Yes: 4 files
e.g. node/http.d.ts
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
Yes: 6 files
e.g. node/crypto.d.ts
See the lines
WebAssembly
loads WebAssembly code
Yes: 2 files
e.g. node/vm.d.ts
See the lines
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
node/inspector.generated.d.ts228 KB
node/fs.d.ts202 KB
node/crypto.d.ts169 KB
node/test.d.ts120 KB
node/http2.d.ts119 KB
node/process.d.ts115 KB
node/http.d.ts99 KB
node/quic.d.ts95 KB
node/stream.d.ts91 KB
node/buffer.d.ts81 KB
node/util.d.ts65 KB
node/fs/promises.d.ts64 KB
node/tls.d.ts61 KB
node/child_process.d.ts60 KB
node/sqlite.d.ts56 KB
node/vm.d.ts53 KB
node/net.d.ts48 KB
node/events.d.ts47 KB
node/assert.d.ts43 KB
node/v8.d.ts43 KB
node/diagnostics_channel.d.ts35 KB
node/dns.d.ts34 KB
node/module.d.ts33 KB
node/dgram.d.ts31 KB
node/async_hooks.d.ts30 KB
node/worker_threads.d.ts30 KB
node/url.d.ts25 KB
node/zlib.d.ts24 KB
node/util/types.d.ts24 KB
node/perf_hooks.d.ts24 KB

Questions

How many files are in @types/node?

Version 26.6.4 of @types/node publishes 92 files of source, 2.5 MB in all, not counting images, fonts and source maps.

Does @types/node use eval?

Yes: @types/node calls eval() in 2 of its files.

Does @types/node start other programs?

Yes: @types/node uses child_process in 8 of its files.

Does @types/node run an install script?

No: @types/node 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