Skip to content

It's a simple npm package that exports methods representing divisions, districts and upazilas of Bangladesh.

License

Notifications You must be signed in to change notification settings

rajuAhmed1705/bangladesh-address

Repository files navigation

Bangladesh Address (division, district, upazila)

It's a simple npm package that exports methods representing divisions, districts and upazilas of Bangladesh.

Usage:

Install:

npm i @bangladeshi/bangladesh-address

Import the package in your file to use it.

const address = require('@bangladeshi/bangladesh-address')

Methods:

Division

allDivision()

get array of all divisions

divisionalDataOf(DivisionName.Dhaka)

get every districts and upazilas of Dhaka division

Districts

districtOf(DivisionName.Dhaka)

get districts of Dhaka division

allDistrict()

get an array of all district names of Bangladesh

upazila

upazilasOf("tangail")

get all upazilas of Tangail

allUpazila()

get an array of all Upazilas

Types

DivisionName.Dhaka
DivisionName.Chattogram
DivisionName.Mymensingh
DivisionName.Khulna
DivisionName.Rajshahi
DivisionName.Rangpur
DivisionName.Sylhet
DivisionName.Barisal

Contribution

If you want to contribute please follow the guildline. Contribution

About

It's a simple npm package that exports methods representing divisions, districts and upazilas of Bangladesh.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published