arabicfmt is the only JavaScript library that handles the entire Arabic formatting stack in one zero-dependency package — currency symbols, number precision, Hijri/Islamic calendar dates, RTL ...
arabic-normalize applies a named policy such as bayanat-norm-v1 to Arabic text and tells you exactly what it changed: the normalised text, an offset map from every output character back to the input, ...