1.1.2 ā€¢ Published 4 years ago

webperf-psi v1.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

šŸš€ webperf-psi

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

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:

ArgsDescRequiredDefault Value
uUrl to be testedyes-
kAPI Keyyes-
dDevicenomobile
hNumber of hit PSIno1
qQuantileno0.75
  • Run in your local

Fork, then just run:

$ pnpm install
$ pnpm run psi

Ā© 2020 Crafted by Irfan Maulana

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago