syria-districts
v2.5.0
Published
Get all the districts names of Syria or a random one.
Downloads
14
Readme
Syria districts
Get all the districts names of Syria or a random one. a PoC to learn semantic-release
Installation
This package is distributed via npm:
npm install --save syria-districts
Usage
import syriaDistricts from 'syria-districts';
const allDistricts = syriaDistricts.all;
// [ 'Damascus',
// 'Rif Dimashq',
// 'Homs',
// 'Aleppo',
// 'Hama',
// 'Idlib',
// 'Raqqa',
// 'Al-Hasakah',
// 'Daraa',
// 'Tartus',
// 'Deir ez-Zor',
// 'Quneitra',
// 'Al-Suwayda',
// 'Latakia' ]
const randomDistrict = syriaDistricts.random();
// Damascus
const randomDistricts = syriaDistricts.random(3);
// [ 'Al-Hasakah',
// 'Daraa',
// 'Raqqa' ]
Other
This library was developed by Abdul-hadi Hawari as a PoC to learn semantic-release.
inspired from starwars-names by Kent C. Dodds.