Skip to content

Interface: CountryInfo ​

Represents a country with its identifying codes and metadata.

CountryInfo

Properties ​

PropertyTypeDescription
alpha2stringThe ISO 3166-1 alpha-2 country code (2 letters)
alpha3stringThe ISO 3166-1 alpha-3 country code (3 letters)
citizenshipstring | undefinedThe demonym/nationality of citizens from this country
namestringThe full name of the country
statesreadonly CountryState[]Array of states/provinces within the country