1.0.0 • Published 9 months ago
ipes v1.0.0
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
9 months ago