![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
lighthouse-plugin-crux
Advanced tools
> A Lighthouse plugin that displays the field performance of your page. > It uses real-world data from Chrome UX Report and Core Web Vitals to estimate the score.
Readme
A Lighthouse plugin that displays the field performance of your page. It uses real-world data from Chrome UX Report and Core Web Vitals to estimate the score.
An example report for github.com/GoogleChrome/lighthouse:
This plugin adds Core Web Vitals values to your Lighthouse report. The CrUX Performance category includes real-user data provided by Chrome UX Report. It's similar to the field section in PageSpeed Insights but it uses the Chrome User Experience Report API instead of the PageSpeed Insights API. This API is faster than the PSI API since it doesn't need run a full lighthouse run to give the results.
The scoring algorithm weighs values for Largest Contentful Paint (LCP), First Input Delay (FID), and Cumulative Layout
Shift (CLS) and picks a minimum score. It uses Core Web Vitals assessment that expects all its metrics to pass
thresholds. For example, https://edition.cnn.com/ has LCP 5.9 s (15), FID 20 ms (100), and CLS 0.02 (100). It has
poor
mark in the Search Console, and the score is 15.
(Note: FCP and the origin values do not affect the score, see the source)
Check out the parity between Field & Lab performance on mobile:
And on desktop:
Sometimes field data is missing because a URL doesn't have enough anonymous traffic. In this case, the lab data is the only available measurement.
Requires Node.js 12+
and Lighthouse 7+
.
$ npm install lighthouse lighthouse-plugin-crux
Use the plugin with Lighthouse CLI:
$ npx lighthouse https://www.apple.com/ --plugins=lighthouse-plugin-crux
Provide your Chrome User Experience Report token to run more requests (in production) with a custom config:
$ npx lighthouse https://www.apple.com/ --config-path=./config.js
config.js
module.exports = {
extends: 'lighthouse:default',
plugins: ['lighthouse-plugin-crux'],
settings: {
cruxToken: 'YOUR_REAL_TOKEN',
},
}
Heavily based on the lighthouse-plugin-field-data
FAQs
> A Lighthouse plugin that displays the field performance of your page. > It uses real-world data from Chrome UX Report and Core Web Vitals to estimate the score.
The npm package lighthouse-plugin-crux receives a total of 460 weekly downloads. As such, lighthouse-plugin-crux popularity was classified as not popular.
We found that lighthouse-plugin-crux demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.