UNPKG

@maxmind/geoip2-node

Version:

Node.js API for GeoIP2 webservice client and database reader

11 lines (10 loc) 428 B
import * as records from '../records'; import { CityResponse } from '../types'; import Country from './Country'; 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); }