Complete data
31 provinces and 1,252 cities with stable ids, Persian and English names, area codes, capitals, neighbors and 1,152 coordinates.
Complete data
31 provinces and 1,252 cities with stable ids, Persian and English names, area codes, capitals, neighbors and 1,152 coordinates.
Persian-aware search
Handles ي/ی, ك/ک, آ/ا, ZWNJ, diacritics and Persian digits, tolerates typos and fixes text typed with the wrong keyboard layout.
Built for Next.js
Server-friendly core, "use client" hooks, accessible components styled with plain CSS, and Zod/Valibot schemas for Server Actions.
Light and safe
Zero dependencies, ESM and CJS, a lite build without coordinates, frozen data, and types that work from TypeScript 3.9 to 7.