UNPKG

@maxmind/geoip2-node

Version:

Node.js API for GeoIP2 webservice client and database reader

11 lines (10 loc) 437 B
import * as records from '../records.js'; import { CityResponse } from '../types.js'; import Country from './Country.js'; export default class City extends Country { readonly city?: records.CityRecord; readonly location?: records.LocationRecord; readonly postal?: records.PostalRecord; readonly subdivisions?: records.SubdivisionsRecord[]; constructor(response: CityResponse, ipAddress?: string, network?: string); }