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) • 1.23 kB
TypeScript
export { TwoLetterISORegionCode } from './twoLetterISORegionCode';
export { ThreeLetterISORegionCode } from './threeLetterISORegionCode';
export { CountryCallingCodes } from './countryCallingCodes';
export { CountryCurrencySymbols } from './countryCurrencySymbols';
export { CountryCurrencyCodes } from './countryCurrencyCodes';
export { ChinaProvinceCode } from './China/chinaProvinceCode';
export { CanadaProvinceCode } from './Canada/canadaProvinceCode';
export { USAStateCode } from './UnitedStates/USAStateCode';
export { CountryData, getAllCountries, getAllCountryNames } from './countryData';
export { CountryNames } from './countryNames';
export type { Country, LookupResult, SearchOptions, PhoneValidationResult, CountryName, CountryCode2, CountryCode3 } from './types';
export { getCountryByCode2, getCountryByCode3, getCountryByName, getCountriesByCurrency, getCountriesByCallingCode, searchCountries, convertCountryCode, getCallingCode, getCurrencyCode, getCurrencySymbol, getAllCurrencies, getAllCallingCodes } from './utils';
export { isValidCountryCode2, isValidCountryCode3, isValidCountryCode, isValidCountryName, isValidCurrencyCode, isValidCallingCode, validatePhoneNumber, parsePhoneNumber } from './validators';