egypt-cities

Egypt city is an easy package that allows you to get all Egyptian cities, And get all sub-areas for each city.

Usage no npm install needed!

<script type="module">
  import egyptCities from 'https://cdn.skypack.dev/egypt-cities';
</script>

README

Welcome to egypt-citis package!

Build Status

egypt-citis is an easy to use Node.js library to allow you to get all egyptian cities and all nested areas!

At the moment, this package only supports cairo cities only. There are plans to extend this in the next version.

Install

npm install egypt-cities --save

Usage

var cities = require('egypt-cities');

Get all cities

cities.localCities()

Sample Response

A sample response or object that this module returns looks like this.

[	{
        "city_name" : "القاهره"
    },
    {
        "city_name" : "الجيزة"
    },
    {
        "city_name" : "السادس من أكتوبر"
    }
    ...
    ]

License

MIT.