NovaEdge Academy DocsDocs
Docs@novaedgedigitallabs/citykit

@novaedgedigitallabs/citykit

NPM Package

Official NPM package for IP-based geo-location, city lookup, and maps integration.

Installation & Usage

CityKit provides instant city, country, and coordinate resolution for web applications.

javascript
pnpm add @novaedgedigitallabs/citykit

import { getCityFromIP } from "@novaedgedigitallabs/citykit";

const location = await getCityFromIP("103.21.124.5");
console.log(location); // { city: "Lalitpur", state: "Uttar Pradesh", country: "India" }
Was this page helpful?