1.0.0 • Published 7 years ago

i-promise-page-metrics v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

i-promise-page-metrics

A node module for retrieving different page metrics for an URL

For those of you who want to get page metrics for different URLs. This module will supply you with Alexa, Google+ and Moz metrics.

Install

Install with npm

$ npm i-promise-page-metrics --save

Usage

const pageMetrics = require("i-promise-page-metrics");

pageMetrics.alexa(url)
  .then((response) => {
    //=> {globalRank: 1000, popularityAt: "United States", regionalRank: 200, backLinks: 5000}
  });

pageMetrics.googleplus(url)
  .then((response) => {
    //=> {count: 66}
  });

pageMetrics.moz(url)
  .then((response) => {
    //=> {da: 1, pa: 22, rank: 2, links: 100}
  });

Running tests

Install dev dependencies:

$ npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

License

Released under the MIT license.

1.0.0

7 years ago

0.1.2

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.2

8 years ago