{"id":19237960,"url":"https://github.com/svtslv/mmdb2json","last_synced_at":"2025-04-21T06:31:37.388Z","repository":{"id":38682703,"uuid":"247095524","full_name":"svtslv/mmdb2json","owner":"svtslv","description":"A simple code and command-line utils to convert mmdb to json","archived":false,"fork":false,"pushed_at":"2024-08-30T11:03:07.000Z","size":2181,"stargazers_count":5,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T10:42:17.963Z","etag":null,"topics":["converter","geoip2","json","maxmind","mmdb"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/svtslv.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}},"created_at":"2020-03-13T14:53:10.000Z","updated_at":"2023-08-22T02:58:26.000Z","dependencies_parsed_at":"2023-02-13T09:30:26.610Z","dependency_job_id":"6538b3e0-e5b1-4279-92be-d40db5edba00","html_url":"https://github.com/svtslv/mmdb2json","commit_stats":{"total_commits":33,"total_committers":3,"mean_commits":11.0,"dds":"0.21212121212121215","last_synced_commit":"55a51ec116938af1392756d02425b18e5fcf7c08"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fmmdb2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fmmdb2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fmmdb2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fmmdb2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svtslv","download_url":"https://codeload.github.com/svtslv/mmdb2json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250008198,"owners_count":21359945,"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":["converter","geoip2","json","maxmind","mmdb"],"created_at":"2024-11-09T16:28:50.445Z","updated_at":"2025-04-21T06:31:37.016Z","avatar_url":"https://github.com/svtslv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mmdb2Json\n\n\u003ca href=\"https://www.npmjs.com/package/mmdb2json\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/mmdb2json.svg\" alt=\"NPM Version\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/mmdb2json\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/mmdb2json.svg\" alt=\"Package License\" /\u003e\u003c/a\u003e\n\n## Table of Contents\n\n- [Description](#description)\n- [Command line](#command-line)\n- [User in code](#use-in-code)\n- [License](#license)\n\n## Description\nA simple code and command-line utils to convert mmdb to json\n\n## Command line\n\n#### Globally via `npm`\n\n```bash\nnpm install --global mmdb2json\n```\n\n#### Running on-demand:\n\n```bash\nnpx mmdb2json [options]\n```\n\n### Examples\n\n```bash\nnpx mmdb2json --help\n```\n\n```bash\n    'usage: mmdb2json [options]',\n    '',\n    'options:',\n    '  --input      Path to .mmdb file [GeoLite2-City.mmdb]',\n    '  --output     Path to .json file [GeoLite2-City.json]',\n    '  --help       Print this list and exit',\n    '  --version    Print the version and exit.',\n    '',\n```\n\n## Use in code\n\n### Installation\n\n```bash\nnpm install mmdb2json\n```\n\n### Examples\n\n```ts\n  import { Mmdb2Json } from 'mmdb2json';\n\n  const reader = Mmdb2Json.openSync(input);\n  const result = reader.get();\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvtslv%2Fmmdb2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvtslv%2Fmmdb2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvtslv%2Fmmdb2json/lists"}