Skip to content

kulotsystems/phzips

Repository files navigation

phzips

Search for location using Zip Code in the Philippines.

Source Demo
/src/zip /src/main.js

Installation

npm install phzips

Usage

import phzips from 'phzips';
const found = phzips.search('4434');

console.log(found);
// { type: "Province", area: "Camarines Sur", location: "Nabua", zipCode: "4434", tag: null }

CDN

<script src="https://www.kulotsystems.tech/cdn/phzips-2.1.2.min.js"></script>
<script>
    const found = phzips.search('4434');

    console.log(found);
    // { type: "Province", area: "Camarines Sur", location: "Nabua", zipCode: "4434", tag: null }
</script>

Demo

Access https://kulotsystems.github.io/phzips

Dev Setup

Install dependencies

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build