48 packages found
Get the visual width of a string - the number of columns required to display it
Truncate a string to a specific width in the terminal
Get the visual width of the widest line in a string - the number of columns required to display it
String pixel width measurement on the backend in Javascript
String pixel width measurement on the backend in Javascript
Check if the character represented by a given Unicode code point is fullwidth
Calculates the width of a string, where halfwidth characters count as 1, and fullwidth characters count as 2.
mb_strimwidth ported to JavaScript. Truncates string to specified width, where halfwidth characters count as 1, and fullwidth characters count as 2.
a set of Chinese Japanese Korean and Emoji strings helpers
display a float in a fixed-width string
String(Korean) pixel width measurement on the backend in Javascript
Break string into lines according to visual width.
- break
- string
- fixed-width
- chinese
- console
- terminal
- command-line
- cli
- escape
- ansi
- full-width
- fullwidth
- columns
- column
- View more
Get width of a Unicode string in fixed-width display cells, accounting for combining characters, emojis, flags, Hangul, East Asian Width, default ignorables, and a few more.
Normalize strings with diacritics, zero-width whitespaces and other non-latin characters
String pixel width measurement on the backend in Javascript
A module of trim multibyte string by character width. This will work even if contained Unicode, emoji, and surrogate pairs.
String pixel width measurement on the backend in Javascript
Get the visual width of a string - the number of columns required to display it
calculates width of given string
Get the visual width of the widest line in a array of strings - the number of columns required to display it