@nhtio/adonis-maxmind/constants
The module responsible for defining and exporting any constants used throughout the Adonis MaxMind package, such as database types, download URLs, and any other relevant constant values.
Enumerations
| Enumeration | Description |
|---|---|
| MaxMindDatabases | An enumeration of the available MaxMind databases supported by this package. |
| MaxMindDatabaseUrls | An enumeration of the download URLs for the MaxMind databases supported by this package. |
Type Aliases
| Type Alias | Description |
|---|---|
| Country | Type representing a single country object from the Country array. |
| CountryAlpha2 | Type representing any valid ISO 3166-1 alpha-2 country code. |
| CountryAlpha3 | Type representing any valid ISO 3166-1 alpha-3 country code. |
| CountryCitizenship | Type representing any valid citizenship/nationality demonym. |
| CountryName | Type representing any valid country name from the dataset. |
Variables
| Variable | Description |
|---|---|
| Country | Comprehensive list of world countries with their ISO codes, citizenship information, and subdivisions. |
| CountryAlpha2 | Array of all ISO 3166-1 alpha-2 country codes. |
| CountryAlpha3 | Array of all ISO 3166-1 alpha-3 country codes. |
| CountryCitizenship | Array of all citizenship/nationality demonyms from the Country data. |
| CountryName | Array of all country names extracted from the Country data. |