places-kenya

1.0.1 • Public • Published

About Places

List the places in kenya from counties to their wards

Installation

npm i places --save

Usage

Indexing the places in terms of county,subcounty,ward

 import {indexPlaces} from "places";

 const places = indexPlaces();

 // Or if you want to index a specific county (and or with its subcounty)

 //index places in mombasa (county 001);
 const countyPlaces = indexPlaces(1);

 //index places in changamwe constituency in mombasa county
 const subCountyPlaces = indexPlaces(1,1);

 

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i places-kenya

      Weekly Downloads

      1

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      24.5 kB

      Total Files

      5

      Last publish

      Collaborators

      • johnmurng