A type-safe Algerian Dinar (DZD) money value type for TypeScript.
- Overview & concepts — why a money type, the centimes invariant, rounding, and a glossary.
- Getting started — install, construct amounts, and the common recipes (VAT, splitting, parsing, SATIM minor units).
- API reference — every constructor, method, and option on
Dinar, plusparseDinar/formatDinar/MoneyError. - Architecture — the internals: the integer-centimes invariant, the allocation algorithm, and how parsing/formatting stay correct.
Found something out of date? PRs welcome — see CONTRIBUTING.