get-srilanka-districts-cities

1.0.3 • Public • Published

Installing the package

$ npm i get-srilanka-districts-cities

Including the package

const {cityList, provinceList,getJsonofCityAndDistrict,getDistrictList} = require('get-srilanka-districts-cities')

If you do not want to use all of the functions you can include only one function here

Examples

Getting the citylist for selected District

cityList('Western','Kalutara')

Getting the Provinces list

provinceList()

Getting the the JSON of District and Cities for a given Province

getJsonofCityAndDistrict('Western')

Getting the distrct list for selected Province

getDistrictList('Western')

Readme

Keywords

Package Sidebar

Install

npm i get-srilanka-districts-cities

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

48.9 kB

Total Files

5

Last publish

Collaborators

  • shnrndk