direct-to-sides (npm): This library can be used to dynamically set direction (rtl, ltr) for a set of elements based on their position relative to their parent element(s).
Keywords: layout|queue|window|resize|text|align|sides|parent