Home / npm packages / web-vitals
Every file of web-vitals@6.2.2 as published on npm: 131 files, 459 KB. Search them by exact text or regex, in milliseconds.
It uses: none of the APIs we check for.
| API | In web-vitals | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | No | Who does |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | No | Who does |
| the fs module reads and writes files | No | Who does |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | No | Who does |
| XMLHttpRequest makes HTTP requests the old browser way | No | Who does |
| crypto hashes, encrypts or makes random numbers | No | Who does |
| WebAssembly loads WebAssembly code | No | Who does |
| document.cookie reads or writes browser cookies | No | Who does |
| install scripts runs a script when it's installed | No | Who does |
Exact matches in the published files, so a mention in a comment counts too: open the lines to check.
| File | Size |
|---|---|
README.md | 58 KB |
dist/modules/attribution/onINP.js | 20 KB |
src/attribution/onINP.ts | 20 KB |
dist/web-vitals.attribution.umd.cjs | 16 KB |
dist/web-vitals.attribution.iife.js | 16 KB |
dist/web-vitals.attribution.js | 16 KB |
LICENSE | 11 KB |
dist/modules/onLCP.js | 10 KB |
src/onLCP.ts | 10 KB |
dist/web-vitals.umd.cjs | 9.2 KB |
dist/web-vitals.iife.js | 9.0 KB |
dist/web-vitals.js | 9.0 KB |
src/types/inp.ts | 7.9 KB |
src/onINP.ts | 7.7 KB |
dist/modules/types/inp.d.ts | 7.6 KB |
dist/modules/attribution/onLCP.js | 7.3 KB |
src/attribution/onLCP.ts | 7.1 KB |
dist/modules/onINP.js | 7.1 KB |
src/lib/InteractionManager.ts | 6.4 KB |
dist/modules/lib/InteractionManager.js | 6.3 KB |
src/onCLS.ts | 6.1 KB |
src/types/base.ts | 6.1 KB |
src/types.ts | 5.7 KB |
src/onFCP.ts | 5.6 KB |
dist/modules/onFCP.js | 5.6 KB |
dist/modules/types/base.d.ts | 5.6 KB |
dist/modules/onCLS.js | 5.5 KB |
package.json | 5.4 KB |
dist/modules/lib/getVisibilityWatcher.js | 5.0 KB |
src/onTTFB.ts | 4.9 KB |
Version 6.2.2 of web-vitals publishes 131 files of source, 459 KB in all, not counting images, fonts and source maps.
No: web-vitals doesn't call eval() anywhere in its published files.
No: web-vitals doesn't use child_process anywhere in its published files.
No: web-vitals has no preinstall, install or postinstall script in its package.json.
The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.