string — independent software & tools
-
cli-truncate
Truncate a string to a specific width in the terminal
-
string-width
Get the visual width of a string - the number of columns required to display it
-
ansi-escapes
ANSI escape codes for manipulating the terminal
-
ansi-regex
Regular expression for matching ANSI escape codes
-
ansi-styles
ANSI escape codes for styling strings in the terminal
-
chalk
Terminal string styling done right
-
chalk-template
Terminal string styling with tagged template literals
-
elegant-spinner
Elegant spinner for interactive CLI apps
-
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.
-
has-ansi
Check if a string has ANSI escape codes
-
mdast-util-to-string
mdast utility to get the plain text content of a node
-
slice-ansi
Slice a string with ANSI escape codes
-
strip-ansi
Strip ANSI escape codes from a string
-
widest-line
Get the visual width of the widest line in a string - the number of columns required to display it
-
yoctocolors-cjs
CommonJS version - The smallest and fastest command-line coloring package on the internet