ipily
Get your public IP address
Using the gandi
API.
Install
$ npm i --save ipily
Usage
const ipily = ; ;
API
ipily([endpoint])
Returns a Promise
for the IP address.
endpoint
Type: string
Default: http://me.gandi.net
Custom API endpoint.
Credits
- ipify - Get public ip default using
https://api.ipify.org
License
MIT © Yuan Tao