1.0.0 • Published 3 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 ipes
Usage
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
1.0.0
3 months ago