dz_kit: Dart package for Algerian wilayas, communes, phone numbers, dinar amounts and postal keys
dz_kit is a pure Dart package offering building blocks for apps targeting Algeria. It includes all 69 wilayas under law 26-06 of April 2026 and 1541 communes, with names in Arabic and French, plus accent- and case-insensitive search. Its DzPhone utility normalises Algerian numbers to E.164 format, detects operators from prefixes, and compares full national numbers rather than just the last seven digits. The Dzd type stores dinar amounts as integer centimes to avoid floating-point errors, with French and Arabic formatting. The package also computes and validates CCP and RIP keys against published Algérie Poste numbers and performs format checks on NIF and NIS identifiers.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in