1.0.3 • Published 4 years ago

get-srilanka-districts-cities v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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')
1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago