Home / npm packages / execa

execa source code

Every file of execa@10.0.1 as published on npm: 145 files, 361 KB. Search them by exact text or regex, in milliseconds.

It uses: child_process, process.env, the fs module, fetch().

What execa uses

APIIn execa
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
Yes: 16 files
e.g. lib/arguments/command-file.js
See the lines
process.env
reads environment variables
Yes: 4 files
e.g. lib/arguments/command-file.js
See the lines
the fs module
reads and writes files
Yes: 8 files
e.g. lib/arguments/command-file.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
Yes: 2 files
e.g. readme.md
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
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
types/arguments/options.d.ts15 KB
readme.md12 KB
types/methods/main-async.d.ts9.0 KB
lib/arguments/command-file.js8.8 KB
types/stdio/type.d.ts8.3 KB
lib/stdio/handle.js8.2 KB
lib/pipe/setup.js8.0 KB
lib/methods/main-async.js7.0 KB
lib/stdio/type.js6.8 KB
types/return/result.d.ts6.7 KB
types/subprocess/subprocess.d.ts6.3 KB
lib/ipc/validation.js5.7 KB
lib/resolve/wait-stream.js5.1 KB
lib/methods/template.js5.0 KB
lib/methods/main-sync.js4.8 KB
types/ipc.d.ts4.8 KB
types/transform/normalize.d.ts4.6 KB
types/methods/script.d.ts4.5 KB
lib/resolve/wait-subprocess.js4.3 KB
lib/return/message.js4.2 KB
lib/convert/readable.js4.2 KB
lib/stdio/duplicate.js4.2 KB
lib/arguments/fd-options.js4.1 KB
lib/convert/writable.js4.0 KB
lib/io/output-sync.js3.9 KB
lib/arguments/specific.js3.9 KB
types/pipe.d.ts3.8 KB
lib/stdio/native.js3.8 KB
lib/transform/generator.js3.8 KB
lib/arguments/escape.js3.7 KB

Questions

How many files are in execa?

Version 10.0.1 of execa publishes 145 files of source, 361 KB in all, not counting images, fonts and source maps.

Does execa use eval?

No: execa doesn't call eval() anywhere in its published files.

Does execa start other programs?

Yes: execa uses child_process in 16 of its files.

Does execa run an install script?

No: execa 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