Ipes
Find your user country and ip informations
Installation
Run this command when will be installing ipes package to your project.
npm install ipesUsage
Find ip information
import { Ipes } from 'ipes';
const lookup = new Ipes();
const myIp = await lookup.get_ip_info(); // returned ipinfo.io/json objectFind country information
const myCountry = await lookup.get_country_info(); // dr5h - countries-states-cities-database1.0.0
1 year ago