๐ฅ Careful: This package is no longer maintained and is only here for historic reasons. This means you should very likely not use it. You have been warned. ๐ฅ
Getting Google PageSpeed Insights for a app running locally - directly in the command line
psi
+ localtunnel
= โค๏ธ
npm install pagespeed-cli
# For a example app running on localhost, port 8080
pagespeed-cli -p 8080
# For a example app running on localhost, port 8080 and with desktop strategy
pagespeed-cli -p 8080 -s desktop
This module uses debug.
DEBUG='pagespeed-cli' pagespeed-cli -p 8080
MIT