Skip to content

Instantly share code, notes, and snippets.

@jaseflow
Created May 13, 2015 04:38
Show Gist options
  • Save jaseflow/e08b66eb42c6b06e54e8 to your computer and use it in GitHub Desktop.
Save jaseflow/e08b66eb42c6b06e54e8 to your computer and use it in GitHub Desktop.
var psi = require('psi');
var testUrl = 'http://www.expedia.com/Cancun-Hotels.d179995.Travel-Guide-Hotels?psislp=1';
module.exports = {
getScore: function() {
psi(testUrl, function (err, data) {
console.log(data.score);
});
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment