@minilibs/ip2geo
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Ip2Geo by Minilibs 🗺️


Ip2Geo is a super-lightweight and type-safe library that allows you to convert any IP to geolocation data, 100% free with unlimited uses—no catch. It works exclusively online and can run on both the client and server.

Importing:

import { getGeoFromIP } from '@minilibs/ip2geo'
 
// or
 
import getGeoFromIP from '@minilibs/ip2geo'

Usage:

const geo = await getGeoFromIP('8.8.8.8')

Read more about the Ip2Geo at https://minilibs.com/ip2geo.

Package Sidebar

Install

npm i @minilibs/ip2geo

Weekly Downloads

63

Version

0.0.5

License

none

Unpacked Size

17.8 kB

Total Files

21

Last publish

Collaborators

  • bfzli