Interface: CountryInfo
Represents a country with its identifying codes and metadata.
CountryInfo
Properties
| Property | Type | Description |
|---|---|---|
alpha2 | string | The ISO 3166-1 alpha-2 country code (2 letters) |
alpha3 | string | The ISO 3166-1 alpha-3 country code (3 letters) |
citizenship | string | undefined | The demonym/nationality of citizens from this country |
name | string | The full name of the country |
states | readonly CountryState[] | Array of states/provinces within the country |