fabiospampinato
-
fast-string-truncated-width
A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
-
fast-string-width
A fast function for calculating the visual width of a string once printed to the terminal.