UNPKG

@locale-tools/countries

Version:

Countries of the world and relational data

8 lines (7 loc) 335 B
import { CountryKey } from "../types/countryKeys"; /** * getCountryNameKey - gets a country key for a given country by it's 'common' name (in English) * * @param name - the name of the country (refer to `name.common` field in the countries.json files) */ export declare function getCountryNameKey(name: string): CountryKey;