ipes
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i ipes

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

9.95 kB

Total Files

13

Last publish

Collaborators

  • ahmetcanisik