Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gpagespeed

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gpagespeed - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

index.js

@@ -16,4 +16,4 @@ var request = require('request')

}
return callback(null, JSON.parse(body.toString()));
return callback(null, body.toString());
});
};
{
"name": "gpagespeed",
"description": "Analyze a webpage with Google PageSpeed",
"version": "0.0.3",
"version": "0.0.4",
"author": "Geir Gåsodden <geir.gasodden@pythonia.no>",

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -5,4 +5,6 @@ #gpagespeed

To use this you must Acquire an API key from [Google Developers Console](https://console.developers.google.com/)
To use this you must Acquire an API key from [Google Developers Console](https://console.developers.google.com/).
The module outputs the result as string.
##Installation##

@@ -9,0 +11,0 @@ ```

@@ -32,4 +32,5 @@ var pagespeed = require('../index')

if(err) throw err;
assert.equal('pagespeedonline#result', data.kind);
assert.equal(200, data.responseCode);
var res = JSON.parse(data);
assert.equal('pagespeedonline#result', res.kind);
assert.equal(200, res.responseCode);
done();

@@ -36,0 +37,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc