https://github.com/richienb/iplocation-cli
Get ip location information.
https://github.com/richienb/iplocation-cli
Last synced: 9 months ago
JSON representation
Get ip location information.
- Host: GitHub
- URL: https://github.com/richienb/iplocation-cli
- Owner: Richienb
- License: mit
- Created: 2020-04-04T10:18:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-07T18:37:19.000Z (over 2 years ago)
- Last Synced: 2025-04-14T17:38:59.392Z (9 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# iplocation-cli [](https://travis-ci.com/Richienb/iplocation-cli)
Get ip location information.
[](https://npmjs.com/package/iplocation-cli)
## Install
```sh
npm install --global iplocation-cli
```
## Usage
```sh
$ iplocation 172.217.167.78
172.217.167.78
├─ Latitude: -33.8591
├─ Longitude: 151.2002
├─ Region
│ ├─ Name: New South Wales
│ └─ Code: NSW
├─ Country
│ ├─ Name: Australia
│ ├─ Code: AU
│ ├─ Iso3: AUS
│ ├─ Capital: Canberra
│ ├─ Tld: .au
│ ├─ Population: 21515754
│ ├─ Area: 7686850
│ ├─ Calling code: +61
│ ├─ Postal code: 2000
│ ├─ Timezone
│ │ ├─ Code: Australia/Sydney
│ │ └─ Offset: +1100
│ ├─ Currency
│ │ ├─ Name: Dollar
│ │ └─ Code: AUD
│ └─ Languages
│ └─ 0: en-AU
└─ Continent
├─ Code: OC
└─ In eu: false
```
## Related
- [iplocation](https://github.com/Richienb/iplocation) - API for this module.