Version 3.0.1
Countries Cities AR
A comprehensive TypeScript library with 250 countries and 4,642 states/provinces in 3 languages
Complete Coverage
All 250 world countries with 4,642 administrative divisions including states, provinces, governorates, and cities
- ✅ Egypt: 27 governorates
- ✅ Saudi Arabia: 13 regions
- ✅ UAE: 7 emirates
- ✅ All Arab countries: 100% accurate Arabic
TypeScript First
Built with TypeScript, fully typed, and optimized for modern JavaScript frameworks
- ✅ Full type definitions
- ✅ Tree-shakeable
- ✅ ESM & CommonJS support
- ✅ 586KB bundle size
Developer Friendly
Simple API with powerful search and filter functions for all your needs
- ✅ Easy to use functions
- ✅ Multi-language search
- ✅ React, Next.js, Vue ready
- ✅ Well documented
Trilingual Support
Every country and city includes names in English, Arabic, and French
- ✅ English names
- ✅ Arabic translations (عربي)
- ✅ French translations (Français)
- ✅ Perfect for i18n apps
Quick Start
Get started in seconds with npm
$ npm install countries-cities-ar
import { allCountries, getCountryByCode } from 'countries-cities-ar';
// Get all countries
console.log(allCountries.length); // 250
// Get Egypt data
const egypt = getCountryByCode('EG');
console.log(egypt.nameAr); // "مصر"
console.log(egypt.cities.length); // 27 governoratesWhat's Next?
Library Stats
250
Countries
4,642
States/Provinces
3
Languages
586KB
Bundle Size