UNPKG

country-kit

Version:

A lightweight TypeScript library providing comprehensive country data including ISO codes, names, calling codes, and flag emojis.

16 lines (15 loc) 631 B
export declare const countryData: { [key: string]: { name: string; alpha3: string; callingCode: string; flag: string; }; }; export declare const countries: { [key: string]: string; }; export declare const countryCodes: string[]; export declare const countryNames: string[]; export { getAllCountries, getAlpha3Code, getCallingCode, getCountryByCode, getCountryFlag, getCountryName, searchCountries, isValidCountryCode, isValidCallingCode, getCountriesByCallingCode, } from "./utils"; export { type Country, type CountryCode, type CountryData, type CountrySearchOptions, } from "./types";