rtl-unicode-normalizer
v1.0.2
Published
A configurable package for normalizing contextual forms of RTL characters. Also normalizing texts with both RTL and LTR characters.
Downloads
26
Maintainers
Readme
rtl-unicode-normalizer
A configurable package for normalizing contextual forms of RTL characters. Also normalizing texts with both RTL and LTR characters.
Description
Installation
npm install rtl-unicode-normalizer
Usage
import {RTLUnicodeNormalizer} from "rtl-unicode-normalizer";
let yourNormalizer = new RTLUnicodeNormalizer(yourString);
yourNormalizer.toString(); // <== normalized string
API
toString()
toHexArray()
toNumberArray()