Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonardofaria/ipinfo-client
Small CLI for IPinfo.io
https://github.com/leonardofaria/ipinfo-client
cli ip ipinfo
Last synced: 26 days ago
JSON representation
Small CLI for IPinfo.io
- Host: GitHub
- URL: https://github.com/leonardofaria/ipinfo-client
- Owner: leonardofaria
- Created: 2022-03-28T17:08:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-28T22:25:48.000Z (over 2 years ago)
- Last Synced: 2024-08-10T11:29:51.871Z (3 months ago)
- Topics: cli, ip, ipinfo
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IPinfo (unofficial) Client
![npm](https://img.shields.io/npm/v/ipinfo-client) ![NPM](https://img.shields.io/npm/l/ipinfo-client) [![Buy me a coffee](https://badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label)](https://www.buymeacoffee.com/leonardofaria) [![Twitter Follow](https://img.shields.io/twitter/follow/leozera?label=Follow%20on%20Twitter)](https://twitter.com/leozera/)
This is a small CLI to get IP info from your terminal. This NPM package is not related to the IPinfo company.
## Running
- You can install this globally by running `npm install -g ipinfo-client` or
- You can run this using npx: `npx ipinfo-client`### API limits
There are a few limits if you are using their product without paying or at least, without having a free plan. Please check [IPinfo pricing page](https://ipinfo.io/pricing) for details.
## Options
`--format`: `json` (default), `table`, `city`, `location`
## Authentication
The CLI will use the environment variable `IPINFO_API_TOKEN` to authenticate its requests. This is optional.