TunisiaKit
A TypeScript toolkit for validating and formatting Tunisian data, with local reference data for developers.
No media
Overview
TunisiaKit is an open-source TypeScript toolkit for common Tunisian data tasks. It brings validation and formatting helpers together with regional reference data, so developers do not have to rebuild those utilities in each project.
What it includes
- Validation helpers for identifiers and local data such as CIN, RIB, IBAN, phone numbers, and postal codes.
- Formatters for phone numbers, IBANs, and currency, including Arabic-friendly output.
- Reference data for governorates, delegations, banks, and regions.
Technical notes
The package is written in TypeScript, has no runtime dependencies, and is published on npm as tunisia-kit. See the repository for the complete API and usage examples.