Package Exports
- select-philippines-address
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (select-philippines-address) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
select-philippines-address@1.0.0
Select addresses in the Philippines using HTML select tag.
- ✨ Installationnpm i select-philippines-address --save
- ✨ Usageconst { regions, provinces, cities, barangays } = require('select-philippines-address');
regions().then((region) => console.log(region)); // returns all regions
provinces('01').then((province) => console.log(province)); // returns provinces base on region code
cities('0128').then((city) => console.log(city)); // returns cities base on province code
barangays('052011').then((barangays) => console.log(barangays)); // returns barangays base on city code