ansi-regex
Regular expression for matching ANSI escape codes
Regular expression for matching ANSI escape codes
Strip ANSI escape codes from a string
ANSI escape codes for styling strings in the terminal
Wordwrap a string with ANSI escape codes
Escape RegExp special characters
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
ANSI escape codes for manipulating the terminal
Slice a string with ANSI escape codes
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
Escape string for use in HTML
Easy way to split a string on a given character unless it's quoted or escaped.
Check if a string has ANSI escape codes
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Get the visual width of the widest line in a string - the number of columns required to display it
fast and safe way to escape and unescape &<>'" chars
ANSI escape codes for some terminal swag
Create clickable links in the terminal
Escape a string for use in HTML or the inverse
The lodash method `_.escape` exported as a module.
Legacy list of escapable characters in markdown