Home / npm packages / @angular/cli

@angular/cli source code

Every file of @angular/cli@22.2.1 as published on npm: 237 files, 1.1 MB. Search them by exact text or regex, in milliseconds.

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

What @angular/cli uses

APIIn @angular/cli
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: 7 files
e.g. src/commands/update/utilities/cli-version.js
See the lines
process.env
reads environment variables
Yes: 9 files
e.g. bin/bootstrap.js
See the lines
the fs module
reads and writes files
Yes: 27 files
e.g. src/commands/mcp/tools/ai-tutor.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 1 file
e.g. src/analytics/analytics-collector.js
See the lines
fetch()
makes HTTP requests
Yes: 1 file
e.g. src/commands/mcp/tools/doc-search.js
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
Yes: 4 files
e.g. src/analytics/analytics-collector.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
lib/config/schema.json224 KB
src/commands/mcp/resources/ai-tutor.md76 KB
lib/config/workspace-schema.d.ts39 KB
src/commands/update/update-resolver.js39 KB
src/commands/add/cli.js33 KB
src/package-managers/package-manager.js32 KB
src/commands/update/cli.js27 KB
src/package-managers/parsers.js26 KB
src/commands/mcp/tools/projects.js24 KB
src/command-builder/schematics-command-module.js22 KB
src/utilities/config.js14 KB
src/commands/mcp/tools/onpush-zoneless-migration/prompts.js14 KB
src/command-builder/utilities/json-schema.js13 KB
src/commands/mcp/tools/doc-search.js13 KB
src/utilities/completion.js13 KB
src/command-builder/command-module.js13 KB
src/package-managers/package-manager-descriptor.d.ts12 KB
src/commands/update/utilities/migration.js12 KB
src/command-builder/architect-command-module.js12 KB
src/commands/mcp/tools/onpush-zoneless-migration/zoneless-migration.js10 KB
src/command-builder/architect-base-command-module.js10 KB
src/commands/mcp/host.js10.0 KB
src/commands/generate/cli.js9.3 KB
src/analytics/analytics-collector.js9.2 KB
src/package-managers/package-manager-descriptor.js9.1 KB
src/package-managers/package-manager.d.ts9.1 KB
src/commands/mcp/tools/best-practices.js9.0 KB
src/commands/update/utilities/cli-version.js8.7 KB
lib/init.js8.7 KB
src/command-builder/utilities/schematic-engine-host.js8.7 KB

Questions

How many files are in @angular/cli?

Version 22.2.1 of @angular/cli publishes 237 files of source, 1.1 MB in all, not counting images, fonts and source maps.

Does @angular/cli use eval?

No: @angular/cli doesn't call eval() anywhere in its published files.

Does @angular/cli start other programs?

Yes: @angular/cli uses child_process in 7 of its files.

Does @angular/cli run an install script?

No: @angular/cli 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