This package provides zip address location information with district or province and can be search information by zip.
You can search information by
- zip
- city
- district
- province
zip-lk requires Node.js v4+ to run.
Install the package.
$ cd your-root-directory
$ npm install zip-lk
Usage example...
//import
const zip = require('zip-lk');
//configure module
zip.config();
(async () => {
//get all zip details by district filter
let searchQuery = {district:'Gampaha'};
let result = await zip.get(searchQuery);
console.log(result);
})()
MIT
Free Software, Hell Yeah!