0.0.6 • Published 10 months ago

@minilibs/ip2geo v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

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.