alexarank

A simple node package to get Alexa traffic rank for a domain or URL

alexarank

A simple node package to get Alexa traffic rank for a domain or URL.

Install the module :

npm install -g alexarank

Using the module is pretty straightforward :

var alexa = require('alexarank');

alexa("http://www.echojs.com/", function(error, result) {
    if (!error) {
        console.log(JSON.stringify(result));
    } else {
        console.log(error);
    }
});

There is a bundled alexarank CLI tool :

USAGE    : alexarank domain

EXAMPLES : alexarank http://www.echojs.com
           alexarank echojs.com

alexarank is released under the BSD 2-Clause license. See LICENSE file for details.

alexarank is developed by Frederic Cambus

  • Site : http://www.cambus.net
  • Twitter: http://twitter.com/fcambus