https://github.com/kulotsystems/phzips
Search for location using Zip Code in the Philippines.
https://github.com/kulotsystems/phzips
city location philippines province zip zipcode
Last synced: 7 months ago
JSON representation
Search for location using Zip Code in the Philippines.
- Host: GitHub
- URL: https://github.com/kulotsystems/phzips
- Owner: kulotsystems
- License: mit
- Created: 2022-08-29T11:17:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-07T13:28:31.000Z (over 3 years ago)
- Last Synced: 2024-11-16T08:37:18.692Z (over 1 year ago)
- Topics: city, location, philippines, province, zip, zipcode
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/phzips
- Size: 812 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## phzips
Search for location using Zip Code in the Philippines.
| Source | Demo |
|---------------------|-----------------------------|
| [/src/zip](src/zip) | [/src/main.js](src/main.js) |
### Installation
```shell
npm install phzips
```
### Usage
```javascript
import phzips from 'phzips';
const found = phzips.search('4434');
console.log(found);
// { type: "Province", area: "Camarines Sur", location: "Nabua", zipCode: "4434", tag: null }
```
### CDN
```html
const found = phzips.search('4434');
console.log(found);
// { type: "Province", area: "Camarines Sur", location: "Nabua", zipCode: "4434", tag: null }
```
### Demo
Access
### Dev Setup
#### Install dependencies
```sh
npm install
```
#### Compile and Hot-Reload for Development
```sh
npm run dev
```
#### Compile and Minify for Production
```sh
npm run build
```