@maxmind/geoip2-node
    Preparing search index...

    Interface RegisteredCountryRecord

    Contains data for the registered country record associated with an IP address. Do not use any of the country names as a database or dictionary key. Use the ID or relevant code instead.

    interface RegisteredCountryRecord {
        geonameId: number;
        isInEuropeanUnion: boolean;
        isoCode: string;
        names: Names;
    }

    Hierarchy (View Summary)

    Index

    Properties

    geonameId: number

    The GeoName ID for the country.

    isInEuropeanUnion: boolean

    This is true if the country is a member state of the European Union. This is available from all location services and databases.

    isoCode: string

    The two-character ISO 3166-1 alpha code for the country.

    names: Names

    An object of locale codes to the name in that locale. Don't use any of these names as a database or dictionary key. Use the ID or relevant code instead.