JSPM

@ip-location-db/geolite2-city-mmdb

2.3.2025101119
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 236
  • Score
    100M100P100Q119242F
  • License SEE LICENSE IN GEOLITE2_LICENSE AND GEOLITE2_EULA

Ip to location database

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ip-location-db/geolite2-city-mmdb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    ip-location-db/geolite2-city-mmdb

    Download

    Database Type License Updated IPv4 IPv6 IPv4+IPV6 IPv4-num IPv6-num
    GeoLite2

    npm version
    npm version
    npm version
    City GeoLite2 License by MaxMind Twice weekly CSV.gz
    CSV.7z
    MMDB
    CSV.gz
    CSV.7z
    MMDB
    CSV.gz
    CSV.7z
    CSV.gz
    CSV.7z

    MMDB Format

    country_code, city, state1, state2, postcode, latitude, longitude, timezone

    country_code

    country_code is the two-letter code defined in ISO 3166-1 alpha-2. You can get the country name, capital, continent, currency, languages, etc. from the country_code by Countries Database in JSON, CSV, SQL format.

    Referenced Database and License

    GeoLite2 database [Update: Twice weekly]

    GeoLite2 is created by MaxMind. The license of GeoLite2 is written in GEOLITE2_LICENSE and End User License Agreement (EULA) is written in GEOLITE2_EULA. Please carefully read the GEOLITE2_LICENSE and GEOLITE2_EULA files, if you use these database. This package comes with certain restrictions and obligations, most notably:

    • You cannot prevent the library from updating the databases.
    • You cannot use the GeoLite2 data:
      • for FCRA purposes,
      • to identify specific households or individuals.

    You can read the latest version of GeoLite2 EULA. GeoLite2 databse is provided under CC BY-SA 4.0 by MaxMind, so, you must create attribution to MaxMind for using GeoLite2 database. If you need better accuracy, please use the commercial version GeoIp2.