Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhaller committed Sep 24, 2015
1 parent 9e87850 commit b056edc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![](screenshot.png)

Run mobile and desktop performance tests for your deployed site using [Google PageSpeed Insights](https://developers.google.com/speed/docs/insights/v1/getting_started) with tidy reporting for your build process.
Run mobile and desktop performance tests for your deployed site using [Google PageSpeed Insights](https://developers.google.com/speed/docs/insights/v2/getting_started) with tidy reporting for your build process.


## Install
Expand All @@ -21,7 +21,7 @@ var psi = require('psi');

// get the PageSpeed Insights report
psi('html5rocks.com', function (err, data) {
console.log(data.score);
console.log(data.ruleGroups.SPEED.score);
console.log(data.pageStats);
});

Expand Down Expand Up @@ -117,6 +117,7 @@ $ psi --help
--key Google API Key. By default the free tier is used.
--strategy Strategy to use when analyzing the page: mobile|desktop
--format Output format: cli|json|tap
--screenshot jpg screenshot
--locale Locale results should be generated in.
--threshold Threshold score to pass the PageSpeed test.
```
Expand Down

0 comments on commit b056edc

Please sign in to comment.