Repository navigation
v1.1.2
What's Changed
- Add CLI for command-line IP lookups @MikelCalvo in db4d262
- Update dependencies @MikelCalvo in 0244674
New Features
CLI Support
You can now use ipdox directly from the command line:
# Using npx
npx node-ipdox 8.8.8.8
# Or install globally
npm install -g node-ipdox
ipdox 8.8.8.8CLI Features:
- JSON output to stdout for easy piping to tools like
jq - Environment variables for configuration (
IPDOX_API_KEY,IPDOX_TIMEOUT,IPDOX_RETRIES) - Proper exit codes (0 success, 1 error)
- IPv4 and IPv6 support
# Pipe to jq
ipdox 1.1.1.1 | jq '.country'
# Save to file
ipdox 8.8.8.8 > result.jsonFull Changelog: v1.1.1...v1.1.2