Wordwrap a string with ANSI escape codes
Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).
Strip ANSI escape codes from a string
ANSI escape codes for styling strings in the terminal
align-text with ANSI support for CLIs
Slice a string with ANSI escape codes
Regular expression for matching ANSI escape codes
An elegant lib that converts the chalked (ANSI) text to HTML. (Community)
Check if a string has ANSI escape codes
The color gray, in ansi.
An elegant lib that converts the chalked (ANSI) text to HTML.
ANSI escape codes for manipulating the terminal
The color red, in ansi.
Convert ansi escaped text streams to html.
The color cyan, in ansi.
A tiny and fast text wrap library which takes ANSI escapes into account.
A simple library containing all known terminal ansi escape codes and sequences.
ANSI escape codes for some terminal swag
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
ANSI color lib
A tiny library with builders to help making logs/CLI pretty with a nice DX.
Create ansi colors by passing the open and close codes.
The color italic, in ansi.
The color bgblue, in ansi.
Calculate the width of a string when printed to the terminal
Library for formatting strings into a grid layout. Fork of term_grid.
Wrap text to a specific width at word boundaries. Supports indentation, hanging indent, ANSI escape code-safe width calculation, and truncation with configurable omission strings.
Provides the 'Drawing' class which is initialized with a filepath and a width. The image will be processed and put to the terminal as a collection of ANSI BG colored squares.
Format data as terminal tables with Unicode, ASCII, Markdown, or compact styles. Build from arrays, hashes, or CSV. Export to CSV and HTML. Sort, filter, and add rows incrementally, with column alignment, auto-sizing, truncation, and ANSI color-safe width calculation.