项目作者: Kijacode

项目描述 :
Get access to regions, districts and wards of Tanzania Country in simple way
高级语言: JavaScript
项目地址: git://github.com/Kijacode/tanzaniageodata.git
创建时间: 2021-03-30T12:31:08Z
项目社区:https://github.com/Kijacode/tanzaniageodata

开源协议:

下载


tanzaniageodata 🚀

Get access to regions, districts and wards of Tanzania Country in simple way 🚀🚀

NPM
npm bundle size

Quick Start

  1. npm i tanzaniageodata

How to Use ?

  1. const tanzaniageodata = require("tanzaniageodata");
  2. //get all regions
  3. const regions = tanzaniageodata.regions(); // [ "Arusha", "Dar es Salaam", "Dodoma", "Geita",...]
  4. //get all wards
  5. const wards = tanzaniageodata.allWards(); // [ "Babayu", "Bahi", "Chali", "Chibelela",...]
  6. //get all districts
  7. const districts = tanzaniageodata.alldistrict(); // [ "Meru District", "Arusha City", "Arusha District", "Karatu District",...]
  8. //get districts per region
  9. // for instance Districts for Arusha Region
  10. const districtPerRegion = tanzaniageodata.districtsPerRegion("Arusha Region"); // [ "Meru District", "Arusha City", "Arusha District", "Karatu District",...]

Contributing contributions welcome

We are open for new ideas, improvements and innovations 🚀.

pull request are welcome

How Can you support ?

Why not star ⭐ this repo ? It will surely motivate and push me to innovate for more community solutions.

Let Be Friends

  1. Twitter
  2. Facebook
  3. Linkedin