site-monitoring
Find geo locations a given website
Last updated 3 years ago by nshimiye .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install site-monitoring 
SYNC missed versions from official npm registry.

site-monitoring

Where is this request coming from?

Exposed methods

  • locateByDomain
const SiteMonitoring = require('site-monitoring');
let debug = false;
let siteMonitoring = new SiteMonitoring(debug); 

siteMonitoring.locateByDomain('www.example.com')
.then({ origin, destination } => {
    // origin = { region_code, latitude, longitude }
    // destination = [ { region_code, latitude, longitude } ]
});

  • locateByAddress
const SiteMonitoring = require('site-monitoring');
let debug = false;
let siteMonitoring = new SiteMonitoring(debug);

siteMonitoring.locateByAddress('111.111.111.111')
.then({ origin, destination } => {
  // origin = { region_code, latitude, longitude }
  // destination = [ { region_code, latitude, longitude } ]
});

Current Tags

  • 1.5.0                                ...           latest (3 years ago)

12 Versions

  • 1.5.0                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |