Home / npm packages / @angular/core

@angular/core source code

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

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

What @angular/core uses

APIIn @angular/core
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: 2 files
e.g. schematics/bundles/project_paths-CEexbl9C.cjs
See the lines
the fs module
reads and writes files
Yes: 2 files
e.g. schematics/bundles/route-lazy-loading.cjs
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
Yes: 1 file
e.g. types/core.d.ts
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
fesm2022/_debug_node-chunk.mjs763 KB
types/core.d.ts382 KB
types/_debug_node-chunk.d.ts291 KB
fesm2022/core.mjs134 KB
schematics/bundles/standalone-migration.cjs111 KB
fesm2022/_pending_tasks-chunk.mjs109 KB
fesm2022/testing.mjs94 KB
schematics/bundles/migrate_ts_type_references-CP8YcwVD.cjs89 KB
schematics/bundles/control-flow-migration.cjs83 KB
schematics/bundles/json-file-RJY0pCW_.cjs79 KB
schematics/bundles/signal-input-migration.cjs71 KB
schematics/bundles/inject-migration.cjs63 KB
schematics/bundles/signal-queries-migration.cjs54 KB
schematics/bundles/index-oY1ww2ZR.cjs44 KB
types/testing.d.ts33 KB
types/_chrome_dev_tools_performance-chunk.d.ts29 KB
schematics/bundles/output-migration.cjs29 KB
schematics/bundles/safe-optional-chaining.cjs27 KB
fesm2022/primitives-event-dispatch.mjs26 KB
schematics/bundles/ngclass-to-class-migration.cjs26 KB
schematics/bundles/project_paths-CEexbl9C.cjs22 KB
schematics/bundles/router-testing-module-migration.cjs22 KB
schematics/bundles/route-lazy-loading.cjs21 KB
schematics/bundles/ngstyle-to-style-migration.cjs20 KB
fesm2022/_resource-chunk.mjs18 KB
schematics/bundles/common-to-standalone-migration.cjs17 KB
schematics/bundles/cleanup-unused-imports.cjs15 KB
schematics/bundles/change_tracker-kXE3NE46.cjs15 KB
types/_event_dispatcher-chunk.d.ts14 KB
fesm2022/_effect-chunk.mjs12 KB

Questions

How many files are in @angular/core?

Version 22.2.1 of @angular/core publishes 93 files of source, 2.9 MB in all, not counting images, fonts and source maps.

Does @angular/core use eval?

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

Does @angular/core start other programs?

No: @angular/core doesn't use child_process anywhere in its published files.

Does @angular/core run an install script?

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