geoip-lite
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name" : "geoip-lite", | ||
"version" : "1.2.0", | ||
"version" : "1.2.1", | ||
"description" : "A light weight native JavaScript implementation of GeoIP API from MaxMind", | ||
@@ -5,0 +5,0 @@ "keywords" : ["geo", "geoip", "ip", "ipv4", "ipv6", "geolookup", "maxmind", "geolite"], |
@@ -63,10 +63,6 @@ GeoIP-lite | ||
### 2. get the datafiles | ||
### 2. update the datafiles (optional) | ||
Then download the city data files from https://github.com/bluesmoon/node-geoip/tree/master/data | ||
You need to get `geoip-city.dat` and `geoip-city-names.dat` and put them into the `data/` directory | ||
of this package. | ||
Run `npm run-script updatedb` to update the data files. | ||
You could also run `npm run-script updatedb` to do this automatically. | ||
**NOTE** that this requires a lot of RAM. It is known to fail on on a Digital Ocean or AWS micro instance. | ||
@@ -73,0 +69,0 @@ There are no plans to change this. `geoip-lite` stores all data in RAM in order to be fast. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83810756
178