{"id":15671806,"url":"https://github.com/pi0/maxmind-databases","last_synced_at":"2025-05-06T20:28:36.274Z","repository":{"id":57292755,"uuid":"155469619","full_name":"pi0/maxmind-databases","owner":"pi0","description":"Maxmind / Geolite2 databases for node-maxmind","archived":false,"fork":false,"pushed_at":"2023-12-15T20:21:00.000Z","size":34,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-28T15:17:23.125Z","etag":null,"topics":["geoip","geoiplite","geolite2","geolite2-asn","geolite2-city","geolite2-country","lookup","maxmind","node"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pi0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["pi0"]}},"created_at":"2018-10-30T23:25:41.000Z","updated_at":"2025-04-12T10:52:32.000Z","dependencies_parsed_at":"2024-10-27T08:51:35.122Z","dependency_job_id":null,"html_url":"https://github.com/pi0/maxmind-databases","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"045632b21f07f7a98518cd64b65e55e43160257c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pi0%2Fmaxmind-databases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pi0%2Fmaxmind-databases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pi0%2Fmaxmind-databases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pi0%2Fmaxmind-databases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pi0","download_url":"https://codeload.github.com/pi0/maxmind-databases/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252763641,"owners_count":21800547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geoip","geoiplite","geolite2","geolite2-asn","geolite2-city","geolite2-country","lookup","maxmind","node"],"created_at":"2024-10-03T15:20:24.831Z","updated_at":"2025-05-06T20:28:36.245Z","avatar_url":"https://github.com/pi0.png","language":"Shell","funding_links":["https://github.com/sponsors/pi0"],"categories":[],"sub_categories":[],"readme":"# Maxmind Databases\n\n\u003e Maxmind / Geolite2 databases for [node-maxmind](https://github.com/runk/node-maxmind)\n\n[![CircleCI](https://circleci.com/gh/pi0/maxmind-databases.svg?style=svg)](https://circleci.com/gh/pi0/maxmind-databases)\n\n**IMPORTANT:** Please read about [license changes](https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/) which are effective starting by **December 30, 2019**\n\n## Packages\n\nAll packages will be auto updated and published every monday.\n\nPackage | Latest  | Size\n--------|---------|---------\n[maxmind-country](https://www.npmjs.com/package/maxmind-country) | [![npm version](https://badge.fury.io/js/maxmind-country.svg)](https://badge.fury.io/js/maxmind-country) | [![install size](https://packagephobia.now.sh/badge?p=maxmind-country)](https://packagephobia.now.sh/result?p=maxmind-country)\n[maxmind-asn](https://www.npmjs.com/package/maxmind-asn)| [![npm version](https://badge.fury.io/js/maxmind-asn.svg)](https://badge.fury.io/js/maxmind-asn) | [![install size](https://packagephobia.now.sh/badge?p=maxmind-asn)](https://packagephobia.now.sh/result?p=maxmind-asn)\n[maxmind-city](https://www.npmjs.com/package/maxmind-city) | [![npm version](https://badge.fury.io/js/maxmind-city.svg)](https://badge.fury.io/js/maxmind-city) | [![install size](https://packagephobia.now.sh/badge?p=maxmind-city)](https://packagephobia.now.sh/result?p=maxmind-city)\n\n\n## Usage\n\nRequire maxmind:\n\n```js\nconst maxmind = require('maxmind')\n```\n\nLoad either `max-city`, `max-country` or `max-asn` packages:\n\n```js\n// City Lookup\nconst lookupCity = maxmind.openSync(require('maxmind-city'))\nconst city = lookupCity.get('8.8.8.8')\n\n// Country Lookup\nconst lookupCountry = maxmind.openSync(require('maxmind-country'))\nconst country = lookupCountry.get('8.8.8.8')\n\n// ASN Lookup\nconst lookupASN = maxmind.openSync(require('maxmind-asn'))\nconst asn = lookupASN.get('8.8.8.8')\n```\n\n## Example results\n\n**ASN**\n\n```json\n{\n  \"autonomous_system_number\": 15169,\n  \"autonomous_system_organization\": \"Google LLC\"\n}\n```\n\n**Country**\n\n```json\n{\n  \"continent\": {\n    \"code\": \"NA\",\n    \"geoname_id\": 6255149,\n    \"names\": {\n      \"de\": \"Nordamerika\",\n      \"en\": \"North America\",\n      \"es\": \"Norteamérica\",\n      \"fr\": \"Amérique du Nord\",\n      \"ja\": \"北アメリカ\",\n      \"pt-BR\": \"América do Norte\",\n      \"ru\": \"Северная Америка\",\n      \"zh-CN\": \"北美洲\"\n    }\n  },\n  \"country\": {\n    \"geoname_id\": 6252001,\n    \"iso_code\": \"US\",\n    \"names\": {\n      \"de\": \"USA\",\n      \"en\": \"United States\",\n      \"es\": \"Estados Unidos\",\n      \"fr\": \"États-Unis\",\n      \"ja\": \"アメリカ合衆国\",\n      \"pt-BR\": \"Estados Unidos\",\n      \"ru\": \"США\",\n      \"zh-CN\": \"美国\"\n    }\n  },\n  \"registered_country\": {\n    \"geoname_id\": 6252001,\n    \"iso_code\": \"US\",\n    \"names\": {\n      \"de\": \"USA\",\n      \"en\": \"United States\",\n      \"es\": \"Estados Unidos\",\n      \"fr\": \"États-Unis\",\n      \"ja\": \"アメリカ合衆国\",\n      \"pt-BR\": \"Estados Unidos\",\n      \"ru\": \"США\",\n      \"zh-CN\": \"美国\"\n    }\n  }\n}\n```\n\n**City**\n\n**NOTE:** Latitude and longitude are not precise and should not be used to identify a particular street address or household.\n\n```json\n{\n  \"continent\": {\n    \"code\": \"NA\",\n    \"geoname_id\": 6255149,\n    \"names\": {\n      \"de\": \"Nordamerika\",\n      \"en\": \"North America\",\n      \"es\": \"Norteamérica\",\n      \"fr\": \"Amérique du Nord\",\n      \"ja\": \"北アメリカ\",\n      \"pt-BR\": \"América do Norte\",\n      \"ru\": \"Северная Америка\",\n      \"zh-CN\": \"北美洲\"\n    }\n  },\n  \"country\": {\n    \"geoname_id\": 6252001,\n    \"iso_code\": \"US\",\n    \"names\": {\n      \"de\": \"USA\",\n      \"en\": \"United States\",\n      \"es\": \"Estados Unidos\",\n      \"fr\": \"États-Unis\",\n      \"ja\": \"アメリカ合衆国\",\n      \"pt-BR\": \"Estados Unidos\",\n      \"ru\": \"США\",\n      \"zh-CN\": \"美国\"\n    }\n  },\n  \"location\": {\n    \"accuracy_radius\": 1000,\n    \"latitude\": 37.751,\n    \"longitude\": -97.822\n  },\n  \"registered_country\": {\n    \"geoname_id\": 6252001,\n    \"iso_code\": \"US\",\n    \"names\": {\n      \"de\": \"USA\",\n      \"en\": \"United States\",\n      \"es\": \"Estados Unidos\",\n      \"fr\": \"États-Unis\",\n      \"ja\": \"アメリカ合衆国\",\n      \"pt-BR\": \"Estados Unidos\",\n      \"ru\": \"США\",\n      \"zh-CN\": \"美国\"\n    }\n  }\n}\n```\n\n## Development\n\nRun `./scripts/fetch` and `./scripts/update` to fetch latest databases.\n\n## License\n\nThis product includes GeoLite2 data created by MaxMind, available from [http://www.maxmind.com](http://www.maxmind.com)\n\nPackages published under MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpi0%2Fmaxmind-databases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpi0%2Fmaxmind-databases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpi0%2Fmaxmind-databases/lists"}