Web Vitals
Measure Core Web Vitals and other key performance metrics in JavaScript.
Logging, monitoring and analytics npm Apache-2.0
Used in agent projects
222
1.7% of 12,697 public repos built with AI coding agents
Rank in logging, monitoring and analytics
#3 of 29
by use in those projects
Downloads
48.7M
npm, last 7 days, web-vitals
GitHub stars
8,640
last push Oct 6, 2026
How Web Vitals is used
Web Vitals is a dependency in 222 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.7%), #3 of 29 in logging, monitoring and analytics. The most used alternative there is Vercel Analytics. Projects that use it most often also use Testing Library (86.9%), react-scripts (76.1%), React (98.2%).
Often used with Web Vitals
| Testing Library | 86.9% of Web Vitals projects · 12.1× more than average |
|---|---|
| react-scripts | 76.1% of Web Vitals projects · 41.8× more than average |
| React | 98.2% of Web Vitals projects · 2.3× more than average |
| React Router | 52.7% of Web Vitals projects · 6.9× more than average |
| Emotion | 27.0% of Web Vitals projects · 10.3× more than average |
| Axios | 31.5% of Web Vitals projects · 3.2× more than average |
| React Icons | 25.2% of Web Vitals projects · 4.7× more than average |
| Material UI | 20.7% of Web Vitals projects · 14.1× more than average |
By coding agent
| Cursor | 1.2% of projects set up for it |
|---|---|
| Claude Code | 0.8% of projects set up for it |
| GitHub Copilot | 0.6% of projects set up for it |
| Devin Desktop | 1.8% of projects set up for it |
| OpenAI Codex | 1.1% of projects set up for it |
| Kiro | 3.4% of projects set up for it |
| Gemini CLI | 1.1% of projects set up for it |
Share of public repos configured for each agent that list Web Vitals as a dependency.
Install
| Package | npm install web-vitals |
|---|---|
| Main stacks | TypeScript / JavaScript (199), Next.js (15), Python (4), PHP (1) |
| Example projects | 1600822305/AetherLink, jsoneaday/solana-chat-app, Grape-Labs/grape-art, cwaku/portfolio, ardeshiir/react-three-fiber-fluid-simulation |
Alternatives to Web Vitals
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vercel Analytics npm Real-time web analytics SDK for tracking traffic and user behavior. |
422 (3.3%) | 8.3M | 517 | MIT |
| pino-pretty npm Pretty-printer for Pino JSON logs to make terminal output human-readable. |
223 (1.8%) | 24.6M | 1,706 | MIT |
| Vercel Speed Insights npm Measure web performance metrics and get recommendations for improvement. |
167 (1.3%) | 5.6M | 116 | Apache-2.0 |
| psutil pypi Cross-platform library for retrieving process and system monitoring information. |
144 (1.1%) | 74.7M | 11.3K | BSD-3-Clause |
| Pino npm Ultra-fast JSON logger for Node.js with minimal overhead. |
129 (1.0%) | 53.3M | 18.2K | MIT |
| Sentry for Next.js npm Official Sentry SDK for error tracking and performance monitoring in Next.js apps. |
119 (0.9%) | 11.7M | 8,756 | MIT |
| Loguru pypi Simplified Python logging library with intuitive API and structured logging. |
108 (0.9%) | 16.4M | 24.1K | — |
| Winston npm Versatile Node.js logging library supporting multiple transports and levels. |
105 (0.8%) | 27.2M | 24.5K | MIT |