Browse By

Alexa Rank node package

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

Install the module :

npm install -g alexarank

Usage example

Using the module is pretty straightforward :

var alexa = require('alexarank');

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

CLI tool

There is a bundled alexarank CLI tool :

USAGE    : alexarank domain

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

Download it from github.

Leave a Reply

Your email address will not be published. Required fields are marked *