country-codes-library
Version:
The Country Code Library provides a collection of two-letter and three-letter country codes according to the ISO 3166-1 standard, as well as it provides USA, China and Canada Province codes (State codes / adminstrative division codes). In addition, it inc
14 lines (13 loc) • 346 B
TypeScript
import { Country } from './types';
/**
* Unified country data combining all available information
*/
export declare const CountryData: Record<string, Country>;
/**
* Get all countries as an array
*/
export declare function getAllCountries(): Country[];
/**
* Get all country names
*/
export declare function getAllCountryNames(): string[];