{"id":38919454,"url":"https://github.com/dkonasov/ip-string-to-number","last_synced_at":"2026-01-17T15:32:08.092Z","repository":{"id":65166735,"uuid":"584767612","full_name":"dkonasov/ip-string-to-number","owner":"dkonasov","description":"Simple helper functions for converting IP addresses from human-readable string to integers.","archived":false,"fork":false,"pushed_at":"2023-01-05T10:51:09.000Z","size":188,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T03:52:30.119Z","etag":null,"topics":["ipv4","ipv4-address","ipv6","ipv6-address","network"],"latest_commit_sha":null,"homepage":"","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/dkonasov.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":"2023-01-03T13:17:09.000Z","updated_at":"2024-10-10T20:09:24.000Z","dependencies_parsed_at":"2023-01-13T15:46:23.453Z","dependency_job_id":null,"html_url":"https://github.com/dkonasov/ip-string-to-number","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dkonasov/ip-string-to-number","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkonasov%2Fip-string-to-number","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkonasov%2Fip-string-to-number/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkonasov%2Fip-string-to-number/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkonasov%2Fip-string-to-number/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dkonasov","download_url":"https://codeload.github.com/dkonasov/ip-string-to-number/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkonasov%2Fip-string-to-number/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ipv4","ipv4-address","ipv6","ipv6-address","network"],"created_at":"2026-01-17T15:32:07.513Z","updated_at":"2026-01-17T15:32:08.085Z","avatar_url":"https://github.com/dkonasov.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ip-string-to-number \u0026middot; [![npm](https://img.shields.io/npm/v/react-aport)](https://www.npmjs.com/package/ip-string-to-number)\n\nSimple helper functions for converting IP addresses from human-readable string to integers. IPv6 support included!\n\n## Usage\n\n### IPv4\n\n```js\nconst { ipV4StringToNumber } = require('ip-string-to-number');\n\nipV4StringToNumber('8.8.8.8'); // 134744072\n```\n\n### IPv6\n\nResult will be always bigint, as IPv6 address value can overcome MAX_SAFE_INTEGER in JS.\n\n```js\nconst { ipV6StringToNumber } = require('ip-string-to-number');\n\nipV6StringToNumber('::1'); // 1n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkonasov%2Fip-string-to-number","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkonasov%2Fip-string-to-number","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkonasov%2Fip-string-to-number/lists"}