This package has been deprecated

Author message:

No longer supported. Please use pagespeed-score --local

pagespeed-score-local

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i pagespeed-score-local

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

3.29 kB

Total Files

5

Last publish

Collaborators

  • csabapalfi