drc-data

The Democratic Republic of Congo locations data

Usage no npm install needed!

<script type="module">
  import drcData from 'https://cdn.skypack.dev/drc-data';
</script>

README

🇨🇩The Democratic Republic of Congo locations data

npm version Build Status Coverage Status Maintainability

Table of contents

Examples

Provinces

  • Get all provinces
const { provinces } = require('drc-data');

const allProvinces = provinces();
  • Get specific province
const { provinces } = require('drc-data');

const province = provinces('Equateur');

Territories

  • Get all territories
const { territories } = require('drc-data');

const allTerritories = territories();
  • Filter territories Territories can be filetered by name and province.
const { territories } = require('drc-data');

const province = territories({ name: 'aketi', province: 'Bas-Uele' });

Contribution

Contributors


Olivier Esuka

Acknowlegments

License

MIT

Author

Olivier Esuka