Neverending Prototype Mode

    vast-maxmind

    1.0.1 • Public • Published

    vast-maxmind is a node wrapper for the maxmind GeoIP location service. It leverages the Maxmind C API which you should download and install from here before starting to use this module.

    http://www.maxmind.com/app/c

    This first iteration is limited functionality

    Please check out the tests folder for the demo.

    var VastMaxmind = require('../build/Release/vastmaxmind').VastMaxmind,
      vmm = new VastMaxmind('/usr/local/share/GeoIP/GeoIPCity.dat'),
    	addr = "8.8.8.8";
    
    var foo = vmm.location(addr, function(data) {
    	console.log(JSON.stringify(data) );
    	process.exit();
    });
    

    Keywords

    none

    Install

    npm i vast-maxmind

    DownloadsWeekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • tommydudebreaux