select-philippines-address

    1.0.5 • Public • Published

    select-philippines-address@1.0.5

    Select addresses in the Philippines using HTML select tag.

    js-standard-style npm version codecov

    - ✨ Demo Deployed with Vercel

    React JS

    Deploy with Vercel

    Vue Js

    Deploy with Vercel

    - ✨ Installation

    npm i select-philippines-address --save

    - ✨ Usage
    import {regions, provinces, cities, barangays} from 'select-philippines-address';
    
    regions().then((region) => console.log(region));
    provinces('01').then((province) => console.log(province));
    cities('0128').then((city) => console.log(city));
    barangays('052011').then((barangays) => console.log(barangays));
    • regions() - has no parameter which returns all regions.
    • provinces() - has 1 parameter region_code which returns provinces in that region.
    • cities() - has 1 parameter province_code which returns cities in that province.
    • barangays() - has 1 parameter city_code which returns barangays in that city.
    - ✨ Screenshot
    React JS Vue JS
    App App

    🚀 NPM Link

    https://www.npmjs.com/package/select-philippines-address

    👨‍💻 Source Code.

    Please fork or star for support.

    🔗 API.

    Philippines Addresses API

    🔖 License

    Apache-2.0

    🚀 Developer

    Isaac Arcilla

    Install

    npm i select-philippines-address

    DownloadsWeekly Downloads

    18

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    1.06 MB

    Total Files

    44

    Last publish

    Collaborators

    • isaacdarcilla