printable-characters (npm): A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.
Keywords: string width|string length|real string width|real string length|optical string width|printed width|unicode|codepoints|code points|strlen|zero width|zero width symbols|zero width characters|visible characters|visible symbols|visible|invisible|invisible symbols|invisible characters|printable|printable length|printable symbols|printable characters|non-printable characters|nonprintable characters|characters|symbols|string trimming|trimming|escapes|escape codes|codes|ansi escapes|tokenizing|ansi|whitespaces