Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

geoip-lite

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geoip-lite - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json
{
"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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc