Socket
Socket
Sign inDemoInstall

geolite2.mmdb

Package Overview
Dependencies
99
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    geolite2.mmdb

Maxmind's GeoLite2 Free Databases


Version published
Weekly downloads
8
increased by100%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

v1.0.0 (2019-07-26)

* This Change Log was automatically generated by github_changelog_generator

Readme

Source

geolite2.mmdb

npm version npm download Build Status

Maxmind's GeoLite2 Free Databases

This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.

Install

npm install geolite2.mmdb

Usage

const geolite2 = require('geolite2.mmdb');
const maxmind = require('maxmind');

const lookup = maxmind.openSync(geolite2.city); // or geolite2.country or geolite2.asn or geolite2.paths.city or geolite2.paths.country or geolite2.paths.asn
const city = lookup.get('66.6.44.4');

License

MIT

Keywords

FAQs

Last updated on 26 Jul 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc