rtl-detect
Library will help you to detect if the locale is right-to-left language.
@andreasnicolaou/rtl-detect
Modern, standards-based RTL (Right-to-Left) language detection for JavaScript/TypeScript. Detects if a locale is RTL, gets text direction, and lists all Unicode/ISO RTL languages.
pretty-bytes
Convert bytes to a human readable string: 1337 → 1.34 kB