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

0.0.6 • Public • Published

Ip2Geo 🗺️


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.

Visit our website to learn more: https://ip2geo.dev

Note: This service might become a paid feature in the far future, but it will remain affordable—up to 5 times cheaper than other providers. We will notify you several months in advance, giving you ample time to transition to the new setup.

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

5

Version

0.0.6

License

none

Unpacked Size

16.4 kB

Total Files

21

Last publish

Collaborators

  • bfzli