bd-geojs
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

/bd-geojs/

    Package Sidebar

    Install

    npm i bd-geojs

    Weekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    904 kB

    Total Files

    13

    Last publish

    Collaborators

    • sayeed_afridi