1.0.1 • Published 3 years ago

zip-lk v1.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

zip-lk Address Zip Detail Provider

Build Status

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

Installation

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);

})()

License

MIT

Free Software, Hell Yeah!