https://github.com/azim-ahmed/bd-divisons-to-unions
This is a npm package to get Bangladesh's divisions , disctricts, upazila, unions.
https://github.com/azim-ahmed/bd-divisons-to-unions
bangladesh bangladesh-divisions bangladesh-location bangladesh-thana bangladesh-union bangladesh-upazilas bangladeshi-data npm-package
Last synced: 3 months ago
JSON representation
This is a npm package to get Bangladesh's divisions , disctricts, upazila, unions.
- Host: GitHub
- URL: https://github.com/azim-ahmed/bd-divisons-to-unions
- Owner: Azim-Ahmed
- Created: 2023-02-04T12:12:21.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T17:26:43.000Z (about 1 year ago)
- Last Synced: 2025-02-16T10:54:42.481Z (3 months ago)
- Topics: bangladesh, bangladesh-divisions, bangladesh-location, bangladesh-thana, bangladesh-union, bangladesh-upazilas, bangladeshi-data, npm-package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/bd-divisions-to-unions
- Size: 113 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bd-divisons-to-unions
### Hello everyone I just created a npm package where you will find all data based on Bangladesh.
- Divisions
- Districts
- Upazillas
- Unions### Let's talk about how you will use it.
you have to use this only for any node environment.
Use this command in your terminal `npm install bd-divisions-to-unions`then you need call the specific function to use these.
` import {getAllDivision, getAllDistrict, getAllUpazila, getAllUnion } from'bd-divisions-to-unions'; `
` console.log(getAllDivision())`To achieve all data you just call 4 functions
- `getAllDivision()` if you pass the `en` parameter then you will get the english written divisions. `getAllDivisions("en")`
- `getAllDistrict()` if you pass the `en` parameter then you will get the english written Zilla. `getAllDistrict("en")`
- `getAllUpazila()` if you pass the `en` parameter then you will get the english written upazila. `getAllUpazila("en")`
- `getAllUnion()` if you pass the `en` parameter then you will get the english written union. `getAllUnion("en")`