udistricts
A package to install ugandan districts
Last updated 7 months ago by roninho .
ISC · Original npm · Tarball · package.json
$ cnpm install udistricts 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 2.3.0                                ...           latest (7 months ago)

4 Versions

  • 2.3.0                                ...           7 months ago
  • 2.2.0                                ...           7 months ago
  • 2.1.0                                ...           7 months ago
  • 2.0.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 4
Dependencies (6)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |