{"_id":"@asdsadw12312dwd2112xz/ip-geo-cli","name":"@asdsadw12312dwd2112xz/ip-geo-cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asdsadw12312dwd2112xz/ip-geo-cli","version":"1.0.0","description":"IP geolocation lookup from the terminal","type":"module","bin":{"ip-geo-cli":"dist/index.js"},"scripts":{"build":"tsup"},"dependencies":{"chalk":"^5.3.0","commander":"^12.1.0"},"devDependencies":{"tsup":"^8.3.0","typescript":"^5.6.0"},"gitHead":"c4688a08de4760e8bc4b586fb2e82c95967aba96","_id":"@asdsadw12312dwd2112xz/ip-geo-cli@1.0.0","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-YLAdJ1EjFrnGehHLKrDiaB0jHI39Y92ZaScKrjIXigXmfHAevxkFcEwzYs6eOJS0sxe0Os7iSzw+h8+V2IJW5Q==","shasum":"a0fd7a43cd53428e9a434a3e8b31e073e90bb867","tarball":"https://registry.npmjs.org/@asdsadw12312dwd2112xz/ip-geo-cli/-/ip-geo-cli-1.0.0.tgz","fileCount":8,"unpackedSize":16704,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCptdDK3k/ge9yL7v0mTBUjtpEAH3wLweEdfWcEAwbozgIgREMXagQmZNrIFOSPOGlY7TdUxHlS5qnIDEPpsiM4ycw="}]},"_npmUser":{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"},"directories":{},"maintainers":[{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ip-geo-cli_1.0.0_1775436129312_0.908036802273195"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-06T00:42:09.193Z","1.0.0":"2026-04-06T00:42:09.470Z","modified":"2026-04-06T00:42:09.719Z"},"maintainers":[{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"}],"description":"IP geolocation lookup from the terminal","readme":"# ip-geo-cli\n\nIP geolocation lookup from the terminal. Uses the free [ip-api.com](http://ip-api.com) API — no key required.\n\n## Install\n\n```bash\nnpm install -g ip-geo-cli\n```\n\nOr run directly after build:\n\n```bash\nnode dist/index.js [ip]\n```\n\n## Usage\n\n```\nip-geo-cli [options] [ip]\n```\n\n### Arguments\n\n| Argument | Description |\n|----------|-------------|\n| `[ip]`   | IPv4 or IPv6 address. Omit to look up your own public IP. |\n\n### Options\n\n| Flag | Description |\n|------|-------------|\n| `-j, --json` | Output raw JSON instead of formatted text |\n| `-f, --file <path>` | Batch lookup — one IP per line in a text file |\n| `-V, --version` | Print version |\n| `-h, --help` | Show help |\n\n## Examples\n\n```bash\n# Look up your own public IP\nip-geo-cli\n\n# Look up a specific IPv4\nip-geo-cli 8.8.8.8\n\n# Look up an IPv6 address\nip-geo-cli 2001:4860:4860::8888\n\n# JSON output\nip-geo-cli 1.1.1.1 --json\n\n# Batch lookup from file\nip-geo-cli --file ips.txt\n\n# Batch lookup as JSON\nip-geo-cli --file ips.txt --json\n```\n\n## Output\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n  IP: 8.8.8.8\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n  Country      United States [US]\n  Region       Virginia\n  City         Ashburn\n  ZIP          20149\n  Timezone     America/New_York\n  ISP          Google LLC\n  Org          Google Public DNS\n  AS           AS15169 Google LLC\n  Coordinates  39.03, -77.5\n  Map          https://www.openstreetmap.org/...\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\nOutput is color-coded by continent:\n- North America — green\n- South America — magenta\n- Europe — blue\n- Asia — cyan\n- Africa — yellow\n- Oceania — bright green\n\n## Notes\n\n- The free ip-api.com tier allows up to 45 requests per minute. Batch mode automatically throttles to stay within limits.\n- For production use with higher volumes, consider the ip-api.com paid plan.\n\n## Build from source\n\n```bash\nnpm install\nnpm run build\n```\n","readmeFilename":"README.md","_rev":"1-cc90953cdb61a42897c313ba0095bc1e"}