Skip to content

Commit

Permalink
6.0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
zrrrzzt committed Oct 10, 2020
1 parent 03a018f commit d4fbad3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "gpagespeed",
"description": "Analyze a webpage with Google PageSpeed",
"version": "6.0.25",
"version": "6.0.26",
"license": "MIT",
"author": {
"name": "Geir Gåsodden",
Expand Down
12 changes: 12 additions & 0 deletions tst.js
@@ -0,0 +1,12 @@
(async () => {
const pagespeed = require('./index')
const url = 'https://github.com'
const options = { nokey: true, url: url, useweb: true }

try {
const data = await pagespeed(options)
console.log(JSON.stringify(data, null, 2))
} catch (error) {
console.error(error)
}
})()

0 comments on commit d4fbad3

Please sign in to comment.