bd_geolocation_api
v1.0.5
Published
``` npm i bd_geolocation_api ```
Downloads
7
Maintainers
Readme
npm i bd_geolocation_api
NB: For typescript:
npm i bd_geolocation_api_typescript
import { divisions } from 'bd_geolocation_api'
console.log(divisions.get_divisions)
// return a array
console.table(divisions.get_division({
division_id: 1
}))
// return an object
import { divisions, districts, unions, upazilas } from 'bd_geolocation_api'
console.table(districts.get_districts)
// return a array
console.log(districts.get_divisions_district({
division_id: 1
}))
console.log(districts.get_district({
district_id: 1
}))
// return an object