Skip to content

dinushchathurya/srilankan-provinces-districts-npm-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub package.json version (branch) GitHub release (latest by date including pre-releases) Libraries.io dependency status for GitHub repo coverage NPM GitHub top language GitHub code size in bytes GitHub All Releases GitHub issues GitHub closed issues GitHub milestones GitHub last commit Twitter URL Website

Provinces Districts

This provides all the Provinces and Districts in Sri Lanka

Add it

$ npm i srilankan-provinces-districts --save
var provinceDistricts = require('srilankan-provinces-districts');

Usage

Get all Srilankan Provinces

// Get All Provinces 
var provinces = provinceDistricts.getProvinces();

Retrieve an array of all Districts in particular Province

var districts = provinceDistricts.getDistricts("Western");

Become a Patreon