google-pagerank

0.0.4 • Public • Published

google-pagerank ** This project NO LONGER WORKS because Google removed the PageRank API.

This npm module fetches Google PageRank.

It accomplishes this by implementing the Jenkins hash in Javascript and using the Google Toolbar endpoint to grab pagerank for any url.

npm install google-pagerank

Node module

Install with npm install google-pagerank or include google-pagerank in your module's package.json.

var pagerank = require('google-pagerank');

pagerank('http://ianww.com', function(err, rank) {
  console.log('Got pagerank', rank);
});

==> Got pagerank 3

Command line

node index.js "http://ianww.com"
==> 3

Demo

Example repo at typpo/pagerank-checker, or see it live at http://ianww.com/pagerank

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    1
  • 0.0.3
    0
  • 0.0.2
    0

Package Sidebar

Install

npm i google-pagerank

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • ianw