UNPKG

@efdiaz/psgc

Version:

Philippine Standard Geographic Code (PSGC)

25 lines (24 loc) 657 B
import { IBarangay, ICityMun, IProvince, IRegion } from './interfaces'; /** * * @returns Lists of Regions */ export declare function getRegions(): IRegion[]; /** * * @param regCode Region Code * @returns Lists of Provinces by Region */ export declare function getProvinces(regCode: string): IProvince[]; /** * * @param provCode Province Code * @returns Lists of Cities/Municipalities by Province */ export declare function getCityMuns(provCode: string): ICityMun[]; /** * * @param citymunCode City/Municipality Code * @returns Lists of Barangays by City/Municipality */ export declare function getBarangays(citymunCode: string): IBarangay[];