New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pagespeed-score-local

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pagespeed-score-local

Local Google PageSpeed Insights (PSI) score and metrics CLI

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

pagespeed-score-local

Local Google PageSpeed Insights (PSI) score and metrics CLI

Get a score by running Lighthouse locally instead of the PSI API.

This a local version of the pagespeed-score module.

Why?

The goal is to get a PSI score:

  • in CI and without public URL (e.g. staging environment on a private network)
  • faster if possible (the Google API takes long to respond)

How

  • using the same version of LightHouse as PSI
  • using LightRider mobile config from the lighthouse module
  • faster run by only getting metrics needed for the performance score
  • doing multiple runs and outputting statistics

Ideas/TODO

  • auto-calibrating CPU throttling using benchmark index
  • maybe support more Lighthouse cli-flags

Keywords

perfmatters

FAQs

Package last updated on 14 Apr 2019

Did you know?

Socket

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.

Install

Related posts