node-maxmind-db
node-maxmind-db copied to clipboard
This is the pure Node API for reading MaxMind DB files. MaxMind DB is a binary file format that stores data indexed by IP address subnets (IPv4 or IPv6).
Having such a huge-ass `.mmdb` file in the `/test` dir bloats the package from < 300**kb** to > 29**mb**. That's **over 10000% increase in size** for something that _virtually nobody...
I try getGeoDataSync vs geoip.lookup of geoip-lite module with the same 3k IP list getGeoDataSync run so slow what wrong?
The code doesn't properly handle IPv4 addresses that are mapped into the IPv6 address space. http://tools.ietf.org/html/rfc4291#section-2.5.5.2 Code currently passes off to the IPv4 parser when it finds a '.', however...
Hi I'm trying the following code: ``` javascript var log = require('debug')('app:maxmind'), mmdbreader = require('maxmind-db-reader'); log('preparing'); var cities = mmdbreader.openSync('./data/GeoIP2-City.mmdb'); log('ready'); for (i=1; i
Hi, My question is, Is this library stores MMDB data in memory after loading for faster lookup?
[diff.txt](https://github.com/PaddeK/node-maxmind-db/files/98788/diff.txt) [diff_ignore_whitespace.txt](https://github.com/PaddeK/node-maxmind-db/files/98789/diff_ignore_whitespace.txt) My use case is that I store the GeoIP database in a location on AWS S3 as I want it to be easy to change database in a...
I used sailsjs and node-maxmind-db, when ip is invalid, app is crash code in coffee: ``` ip = '113.183.205.64,66.249.82.67'; mmdbreader.open GEOPATH, (error, countries) -> countries.getGeoData ip, (error, geodata) -> if...
https://github.com/runk/node-maxmind https://github.com/runk/node-maxmind-benchmark
Update `ip-address` to fix https://snyk.io/vuln/npm:minimatch:20160620 This also changes the use of `ip-address` so everything still works
``` ip-address 4.0.0 → 5.8.9 istanbul ^0.3.13 → ^0.4.5 jshint 2.4.2 → 2.9.5 path ^0.11.14 → ^0.12.7 scotch-tape 0.2.0 → 0.2.1 big-integer >=1.1.5 → >=1.6.26 ```