Skip to content

๐Ÿš€ Easy to use, PSI API hit using Node.js to collect Web Performance Metrics

License

Notifications You must be signed in to change notification settings

mazipan/webperf-psi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

23 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ webperf-psi

Easy to use, PSI API hit using Node.js to collect Web Performance Metrics

Run CLI

Usage example

Get your own API Key

Visit https://developers.google.com/speed/docs/insights/v5/get-started

Usage

  • With npx, using interactive mode
$ npx webperf-psi
  • With npx, using CLI mode
$ npx -p webperf-psi webperf-psi-cli --u={YOUR_PAGE} --k={API_KEY}

Available arguments:

Args Desc Required Default Value
u Url to be tested yes -
k API Key yes -
d Device no mobile
h Number of hit PSI no 1
q Quantile no 0.75
  • Run in your local

Fork, then just run:

$ pnpm install
$ pnpm run psi

Support

You can support me by just giving a โญ in this repository


ยฉ 2020 Crafted by Irfan Maulana

About

๐Ÿš€ Easy to use, PSI API hit using Node.js to collect Web Performance Metrics

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published