npm install iran-city
var iranCity = require('iran-city');
var AllCities = iranCity.allCities();
var AllProvinces = iranCity.allProvinces();
var CitiesOfProvince = iranCity.citiesOfProvince(20);
var SearchByName = iranCity.searchByName('کرمان');
var CityByName = iranCity.cityByName('رفسنجان');
var CityById = iranCity.cityById(766);
allCities() : will return an array of all cities
allProvinces() : will return an array of all provinces
citiesOfProvince(provinceID) : will return an array of all cities of a specific province by province id
searchByName('province name') : will return an array of all cities of a specific province by province name
cityByName('city name') : will return all city data by searching name of city
cityById(cityID) : will return all city data by searching id of city
npx tsc --resolveJsonModule
node dist/src/index.js