Web Vitals
Essential metrics for a healthy site.
README
web-vitals
- Overview
- From npm
- Usage
- API
- Types
- License
Overview
The web-vitals library is a tiny (~1.5K, brotli'd), modular library for measuring all the Web Vitals metrics on real users, in a way that accurately matches how they're measured by Chrome and reported to other Google tools (e.g. Chrome User Experience Report, Page Speed Insights, Search Console's Speed Report).
The library supports all of the Core Web Vitals as well as a number of other metrics that are useful in diagnosing real-user performance issues.
Core Web Vitals
Other metrics
- Interaction to next Paint (INP) _(experimental)_
Install and load the library
From npm
You can install this library from npm by running:
- ```sh
- npm install web-vitals
- ```