7.2.0 • Published 4 years ago
iplocation v7.2.0
iplocation
Get ip location information.
Install
npm install iplocation
Usage
const ipLocation = require("ip-location");
(async () => {
await ipLocation("172.217.167.78");
//=> { latitude: -33.8591, longitude: 151.2002, region: { name: "New South Wales" ... } ... }
})();
API
ipLocation(ip)
ip
Type: string
The ipv4 address to get the information for.
Related
- iplocation-cli - CLI for this module.
7.2.0
4 years ago
7.1.0
4 years ago
7.0.0
4 years ago
6.1.0
6 years ago
6.0.4
6 years ago
6.0.3
6 years ago
6.0.2
6 years ago
6.0.1
6 years ago
6.0.0
6 years ago
5.0.1
6 years ago
5.0.0
7 years ago
4.1.0
7 years ago
4.0.1
7 years ago
4.0.0
7 years ago
2.0.1
9 years ago
2.0.0
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
0.1.1
10 years ago
0.1.0
10 years ago