Skip to content

An npm package to get Divisions, Districts and Thana/Upazilla of Bangladesh.

Notifications You must be signed in to change notification settings

nazmuShakib/thikana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An NPM package to get Divisions, Districts and Thana/Upazilla of Bangladesh.


This package contains functions like getAllDistricts, getDistrictsOfDivision, getAllThanas, getThanasOfDistrict and a variable named allDivisions.

allDivisions

It contains all the division names of Bangladesh.

getAllDistricts

This function returns all district names of Bangladesh. For example, const allDistricts = getAllDistricts().

getDistrictsOfDivision

This function returns the districts of a specified division. For example, const districts = getDistrictsOfDivision('DHAKA'). Note that, the division name is case insensitive. It will work even if we pass 'Dhaka' as division name or 'dhaka'.

getAllThanas

This function returns all thana/upazilla names of Bangladesh. For example, const allThanas = getAllThanas().

getThanasOfDistrict

This function returns the thanas/upazillas of a specified district. For example, const thanas = getThanasOfDistrict('RANGPUR'). Note that, the district name is case insensitive. It will work even if we pass 'Rangpur' as district name or 'rangpur'.

About

An npm package to get Divisions, Districts and Thana/Upazilla of Bangladesh.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published