Home / npm packages / @angular/common

@angular/common source code

Every file of @angular/common@22.2.1 as published on npm: 3,733 files, 4.1 MB (the numbers below cover its first 3,000). Search them by exact text or regex, in milliseconds.

It uses: fetch(), XMLHttpRequest.

What @angular/common uses

APIIn @angular/common
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
NoWho does
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
Yes: 1 file
e.g. fesm2022/_module-chunk.mjs
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
Yes: 2 files
e.g. fesm2022/_xhr-chunk.mjs
See the lines
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/_common_module-chunk.mjs103 KB
types/_common_module-chunk.d.ts92 KB
fesm2022/_module-chunk.mjs73 KB
fesm2022/common.mjs61 KB
types/common.d.ts53 KB
types/_module-chunk.d.ts34 KB
fesm2022/http.mjs23 KB
fesm2022/upgrade.mjs21 KB
fesm2022/testing.mjs18 KB
fesm2022/_location-chunk.mjs11 KB
fesm2022/http-testing.mjs9.4 KB
locales/brx.js7.0 KB
locales/global/brx.js6.7 KB
locales/nqo.js5.9 KB
locales/global/nqo.js5.4 KB
types/_platform_location-chunk.d.ts4.2 KB
locales/bal-Latn.js4.0 KB
locales/global/fi.js3.9 KB
locales/global/ar-IQ.js3.9 KB
locales/mn-Mong-MN.js3.8 KB
fesm2022/_platform_location-chunk.mjs3.8 KB
locales/global/mn-Mong-MN.js3.8 KB
locales/global/bal-Latn.js3.7 KB
locales/fi.js3.7 KB
locales/global/ccp-IN.js3.5 KB
locales/global/ccp.js3.5 KB
locales/global/si.js3.5 KB
locales/global/ml.js3.5 KB
locales/global/ar-PS.js3.4 KB
locales/global/ar-JO.js3.4 KB

Questions

How many files are in @angular/common?

Version 22.2.1 of @angular/common publishes 3,733 files of source, 4.1 MB in all (the numbers below cover its first 3,000), not counting images, fonts and source maps.

Does @angular/common use eval?

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

Does @angular/common start other programs?

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

Does @angular/common run an install script?

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