UNPKG

@athrva/get-ip

Version:

Get public IP from api.athrva.in

7 lines 196 B
export default { async address() { const res = await fetch('https://api.athrva.in/get-ip?apikey=coolatharva'); const data = await res.json(); return data.ip; } };