UNPKG

kenya-locations

Version:

A comprehensive and intuitive TypeScript package for working with Kenyan administrative divisions (counties, sub-counties, constituencies, and wards)

9 lines (8 loc) 1.33 kB
export { KenyaLocations, getCounties, getCountyByCode, getCountyByName, county, CountyWrapper, getConstituencies, getConstituencyByCode, getConstituencyByName, getConstituenciesInCounty, getWardsInConstituency, getCountyOfConstituency, ConstituencyWrapper, getWards, getWardByCode, getWardByName, getWardsInCounty, getWardsInSubCounty, getCountyOfWard, getConstituencyOfWard, getSubCountyOfWard, getSubCounties, getSubCountyByCode, getSubCountyByName, getSubCountiesInCounty, getCountyOfSubCounty, getLocalities, getLocalityByName, getLocalitiesByName, getLocalitiesInCounty, getCountyOfLocality, getLocalityOfArea, locality, LocalityWrapper, getAreas, getAreaByName, getAreasByName, getAreasInLocality, getAreasInCounty, getCountyOfArea, search, searchByType, NotFoundError, KenyaLocationsError, } from './KenyaLocations'; export { DATA_VERSION } from './version'; export type { County, Constituency, Ward, SearchResult, SubCounty, Locality, Area, SearchType, } from './types'; export { counties, constituencies, wards } from './data'; export { subCounties } from './data/sub-counties'; export { localities } from './data/locality'; export { areas } from './data/area'; export { LocationError, LocationNotFoundError, InvalidLocationCodeError, SearchError, DataValidationError, ConfigurationError, } from './errors/LocationErrors';