{"id":20389175,"url":"https://github.com/daidr/zxinc-ipv6","last_synced_at":"2025-04-12T10:51:41.960Z","repository":{"id":43665893,"uuid":"422618401","full_name":"daidr/zxinc-ipv6","owner":"daidr","description":"A module for indexing ipv6 geolocation using the zxinc database.","archived":false,"fork":false,"pushed_at":"2023-03-20T16:05:53.000Z","size":535,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T19:29:49.846Z","etag":null,"topics":["geolocation","ipv6","zxinc"],"latest_commit_sha":null,"homepage":"https://npmjs.org/package/zxinc-ipv6","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daidr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-29T15:05:59.000Z","updated_at":"2025-03-18T18:26:28.000Z","dependencies_parsed_at":"2022-08-22T16:11:10.989Z","dependency_job_id":null,"html_url":"https://github.com/daidr/zxinc-ipv6","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daidr%2Fzxinc-ipv6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daidr%2Fzxinc-ipv6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daidr%2Fzxinc-ipv6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daidr%2Fzxinc-ipv6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daidr","download_url":"https://codeload.github.com/daidr/zxinc-ipv6/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248557844,"owners_count":21124165,"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":["geolocation","ipv6","zxinc"],"created_at":"2024-11-15T03:16:12.340Z","updated_at":"2025-04-12T10:51:41.940Z","avatar_url":"https://github.com/daidr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [zxinc-ipv6](https://github.com/daidr/zxinc-ipv6)\n\n\u003e A module for indexing ipv6 geolocation using the zxinc database.\n\n[![NPM version](https://img.shields.io/npm/v/zxinc-ipv6.svg?style=flat)](https://npmjs.org/package/zxinc-ipv6) \n[![NPM Downloads](https://img.shields.io/npm/dm/zxinc-ipv6.svg?style=flat)](https://npmjs.org/package/zxinc-ipv6) \n[![Node.js Version](https://img.shields.io/node/v/zxinc-ipv6.svg?style=flat)](http://nodejs.org/download/)\n\n## Installation\n\n```bash\n# npm .. \nnpm i zxinc-ipv6\n# yarn .. \nyarn add zxinc-ipv6\n```\n\n## Usage\n\n```javascript\nconst IPDBv6 = require('zxinc-ipv6');\n\n//let db = new IPDBv6(path.join(__dirname, \"./yourpath/ipv6wry.db\"));\nlet db = new IPDBv6();\n\nconsole.log(db.getIPAddr(\"240e:473:fb40:2733::\"));\n\n/*\n    {\n        myip: '240e:473:fb40:2733::',\n        ip: { start: '240E:0470:1000:0000::', end: '240E:0473:FFFF:FFFF::' },\n        location: '中国浙江省 中国电信',\n        country: '中国浙江省',\n        local: '中国电信',\n        type: 'normal',\n        isNormalIPv6: true,\n        ipv4: undefined,\n        serveripv4: undefined\n    }\n*/\n```\n\n## Contributing\n\nPlease submit all issues and pull requests to the [daidr/zxinc-ipv6](http://github.com/daidr/zxinc-ipv6) repository!\n\n## Support\n\nIf you have any problem or suggestion please open an issue [here](https://github.com/daidr/zxinc-ipv6/issues).\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaidr%2Fzxinc-ipv6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaidr%2Fzxinc-ipv6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaidr%2Fzxinc-ipv6/lists"}