{"id":18287085,"url":"https://github.com/deno-libs/ipaddrjs","last_synced_at":"2025-09-05T02:14:04.931Z","repository":{"id":185977824,"uuid":"674413074","full_name":"deno-libs/ipaddrjs","owner":"deno-libs","description":"Deno port of `ipaddr.js` library","archived":false,"fork":false,"pushed_at":"2023-08-03T23:18:33.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T06:47:53.008Z","etag":null,"topics":["deno","ip","network"],"latest_commit_sha":null,"homepage":"https://deno.land/x/ipaddrjs","language":"TypeScript","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/deno-libs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"ko_fi":"v1rtl","liberapay":"v1rtl"}},"created_at":"2023-08-03T22:25:41.000Z","updated_at":"2023-08-03T23:30:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"28ac57f9-9cb7-450b-a17e-f1a7e6b5f5ae","html_url":"https://github.com/deno-libs/ipaddrjs","commit_stats":null,"previous_names":["deno-libs/ipaddr.js"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-libs%2Fipaddrjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-libs%2Fipaddrjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-libs%2Fipaddrjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-libs%2Fipaddrjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deno-libs","download_url":"https://codeload.github.com/deno-libs/ipaddrjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247989748,"owners_count":21029363,"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":["deno","ip","network"],"created_at":"2024-11-05T13:24:22.324Z","updated_at":"2025-04-09T06:27:30.476Z","avatar_url":"https://github.com/deno-libs.png","language":"TypeScript","funding_links":["https://ko-fi.com/v1rtl","https://liberapay.com/v1rtl"],"categories":[],"sub_categories":[],"readme":"# ipaddrjs\n\n[![GitHub Workflow Status][gh-actions-img]][github-actions]\n[![Codecov][codecov-badge]][codecov] [![][docs-badge]][docs]\n\nDeno port of [ipaddr.js](https://github.com/whitequark/ipaddr.js) library. Used by [proxy_addr](https://github.com/deno-libs/proxy_addr).\n\n## Example\n\n```ts\nimport { isValid } from 'https://deno.land/x/ipaddr.js/mod.ts'\n\nisValid('127.0.0.1') // true\n```\n\n## Implementation Status\n\n### IP\n\n- [x] `prefixLengthFromSubnetMask`\n- [x] `toString`\n- [x] `toNormalizedString`\n- [ ] `toByteArray`\n\n### IPv4\n\n- [ ] `broadcastAddressFromCIDR`\n- [ ] `isIPv4`\n- [ ] `isValidFourPartDecimal`\n- [x] `isValid`\n- [ ] `networkAddressFromCIDR`\n- [x] `parse`\n- [ ] `parseCIDR`\n- [ ] `subnetMaskFromPrefixLength`\n- [x] `match`\n- [ ] `range`\n- [ ] `subnetMatch`\n- [ ] `toIPv4MappedAddress`\n\n### IPv6\n\n- [ ] `broadcastAddressFromCIDR`\n- [ ] `isIPv6`\n- [x] `isValid`\n- [ ] `networkAddressFromCIDR`\n- [x] `parse`\n- [ ] `parseCIDR`\n- [ ] `subnetMaskFromPrefixLength`\n- [x] `isIPv4MappedAddress`\n- [x] `match`\n- [x] `range`\n- [ ] `subnetMatch`\n- [x] `toIPv4Address`\n- [x] `toRFC5952String`\n\n[gh-actions-img]: https://img.shields.io/github/actions/workflow/status/deno-libs/ipaddr.js/main.yml?branch=master\u0026style=for-the-badge\u0026logo=github\n[codecov]: https://codecov.io/gh/deno-libs/ipaddr.js\n[github-actions]: https://github.com/deno-libs/ipaddr.js/actions\n[codecov-badge]: https://img.shields.io/coverallsCoverage/github/deno-libs/ipaddr.js?style=for-the-badge\n[docs-badge]: https://img.shields.io/github/v/release/deno-libs/ipaddr.js?color=yellow\u0026label=Docs\u0026logo=deno\u0026style=for-the-badge\n[docs]: https://doc.deno.land/https/deno.land/x/ipaddr.js/mod.ts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-libs%2Fipaddrjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeno-libs%2Fipaddrjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-libs%2Fipaddrjs/lists"}