is-rtl-textLibrary will help you to detect if the text is in right-to-left languagertl-detectrtlltrlanguagertl-detect-text0.0.2 • Published 2 years ago