longitude
Geolocation for node
Install
$ npm install --save longitude
Usage
With any IP
const longitude = ; ;
With device IP
const longitude = ; ;
API
longitude(ip)
Returns a promise with the geoip data
ip
Type: string
The IP - Address you want to check
Related
- longitude-client - Geoip for browsers
- longitude-cli - Geoip for the commandline
License
MIT © Tobias Herber