Get the visual width of a string - the number of columns required to display it
Check if the character represented by a given Unicode code point is fullwidth
Easy way to split a string on a given character unless it's quoted or escaped.
POSIX character classes for creating regular expressions.
Detect the dominant newline character of a string
Get the visual width of the widest line in a string - the number of columns required to display it
Encode HTML character references and character entities
Check if a character is a whitespace character
Check if a character is a word character
Count the longest repeating streak of a character
HTML invalid numeric character reference information
HTML legacy character entity information
HTML character entity information
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
HTML4 character entity information
Fast Diff to colorized HTML
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
Normalize the newline characters in a string to `\n`
powered by npms.io 🚀