vm

vast-maxmind

Looks up an IP asynchronously using the maxmind database. Be sure to install maxmind C API first and test from the command line. http://www.maxmind.com/app/c

Showing:

Popularity

Downloads/wk

3

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

0.2KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial