sindresorhus/public-ip

run with npx

Closed this issue · 1 comments

Would be nice to add npx support to run it from cli.

npx public-ip [--v4] [--v6] [--https] [--timeout 3000]
kevva commented

There is a CLI for it here https://github.com/sindresorhus/public-ip-cli. The reason why it's in a separate module is because users shouldn't have to install the CLI dependencies when they only are using the API.