Skip to content

kon2raya24/ph-postal-code

Repository files navigation

ph-postal-code

npm version License: MIT

Philippine postal/ZIP code validation and lookup

Installation

npm install ph-postal-code

Functions

  • validatePostalCode — Validate Philippine postal code (4 digits)
  • formatPostalCode — Format postal code with zero-padding
  • getRegion — Get general region from postal code prefix

License

MIT

Usage

import { } from 'ph-postal-code';
// See API section for available functions

About

Philippine postal/ZIP code validation and lookup

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors