Home / npm packages / @angular/router

@angular/router source code

Every file of @angular/router@22.2.1 as published on npm: 12 files, 451 KB. Search them by exact text or regex, in milliseconds.

It uses: fetch().

What @angular/router uses

APIIn @angular/router
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. types/_router_module-chunk.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/_router-chunk.mjs172 KB
types/_router_module-chunk.d.ts155 KB
fesm2022/_router_module-chunk.mjs63 KB
types/router.d.ts40 KB
fesm2022/testing.mjs6.8 KB
types/testing.d.ts5.3 KB
fesm2022/router.mjs2.7 KB
fesm2022/upgrade.mjs2.3 KB
package.json1.9 KB
types/upgrade.d.ts1.6 KB
LICENSE1.1 KB
README.md290 B

Questions

How many files are in @angular/router?

Version 22.2.1 of @angular/router publishes 12 files of source, 451 KB in all, not counting images, fonts and source maps.

Does @angular/router use eval?

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

Does @angular/router start other programs?

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

Does @angular/router run an install script?

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