Get ip location information.
Install
npm install iplocation
Usage
const ipLocation = ; async { await ; //=> { 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.