All Projects → fcambus → alexarank

fcambus / alexarank

Licence: BSD-2-Clause license
A simple node package to get Alexa traffic rank for a domain or URL

Programming Languages

javascript
184084 projects - #8 most used programming language

Description

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

This package is now deprecated, Alexa will be retired on May 1, 2022.

Installation

Install the module:

npm install -g alexarank

Usage example

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);
    }
});

CLI tool

There is a bundled alexarank CLI tool:

USAGE   : alexarank domain

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

License

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

Author

alexarank is developed by Frederic Cambus.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].