SayeedAfridi / bd-geojs

Bangladesh GeoLocation in js object

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bd-geojs

a npm package to get all divisions, districts, upazillas and unions of Bangladesh.

Thanks to nuhil ❤️ author of github repository bangladesh-geocode

import with es6 and later:

import { divisions, districts, upazillas, unions } from 'bd-geojs'

import with nodejs

const { unions } = require('bd-geojs')

You will get sorted (by name) array of divisions, districts, upazillas, unions from your import.

Properties on every object:

  • Division

    • id
    • name
    • bn_name
    • url
  • District

    • id
    • name
    • bn_name
    • url
    • division_id
    • lat
    • long
  • Upazilla

    • id
    • name
    • bn_name
    • url
    • district_id
  • Union

    • id
    • name
    • bn_name
    • url
    • upazilla_id

About

Bangladesh GeoLocation in js object

License:MIT License


Languages

Language:TypeScript 100.0%