An open API service indexing awesome lists of open source software.

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.

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
```