mb-trimwidth (npm): A module of trim multibyte string by character width. This will work even if contained Unicode, emoji, and surrogate pairs.
Keywords: string|multibyte|trim|Unicode|emoji|surrogate pairs|width|substring