udistricts

2.3.0 • Public • Published

Districts of Uganda

Build Status Coverage Status License: MIT

Installation

npm install udistricts

Working with the package

This package returns a promise. Therefore to access the district names, you will have to:

  • require the package.

  • you can destructure the path from the package i.e

 const { getDistricts } = require('udistricts')
 getDistricts.then(districts => districts.map(d => console.log(d))).catch(error => console.log(error))

Contributing

Pull Requests are welcome. For major changes, please open an issue first to discuss what you would like to change

Please make sure to update tests as appropriate

Author

Ronald Mutebi

Have fun with it.

Readme

Keywords

none

Package Sidebar

Install

npm i udistricts

Weekly Downloads

2

Version

2.3.0

License

ISC

Unpacked Size

4.25 kB

Total Files

5

Last publish

Collaborators

  • roninho