Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@minilibs/ip2geo

bfzli2690.0.6TypeScript support: included

Ip to Geo location instantly ⚡

geo ip, ip geolocation, ip to location, ip location, ip geo, geolocation lookup, ip tracker, client ip geolocation, server ip geolocation, geoip api, ip data, geolocation api, ip info, ip location api, ip lookup, geo location, ip mapping, ip coordinates, location from ip, lightweight geolocation, tiny geoip, type safe geo, ip to country, geoip client side, geoip server side, online ip lookup, javascript geoip, bun geoip, nodejs ip geolocation, ip2geo

readme

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.