alexarank

A simple node package to get Alexa traffic rank for a domain or URL
Log | Files | Refs | README | LICENSE

commit 517fcc9d5966bb7826ea38a4c0e5a1ae6c149d54
parent ef78db49a061a6b7cfc1833383647453dcd450e2
Author: Jannis R <mail@jannisr.de>
Date:   Sun, 23 Oct 2016 15:34:19 +0200

Promise polyfill

Diffstat:
Mlib/alexarank.js | 1+
Mpackage.json | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/alexarank.js b/lib/alexarank.js @@ -14,6 +14,7 @@ /* */ /*****************************************************************************/ +require('es6-promise').polyfill(); var fetch = require('isomorphic-fetch'); var xml2js = require('xml2js'); diff --git a/package.json b/package.json @@ -32,6 +32,7 @@ "url": "https://github.com/fcambus/alexarank/issues" }, "dependencies": { + "es6-promise": "^4.0.5", "isomorphic-fetch": "^2.2.1", "xml2js": "^0.4" },