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