Strip ANSI escape codes from a string
ANSI escape codes for styling strings in the terminal
Regular expression for matching ANSI escape codes
Wordwrap a string with ANSI escape codes
ANSI to React Elements
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).
Slice a string with ANSI escape codes
Check if a string has ANSI escape codes
align-text with ANSI support for CLIs
A module that diffs an input buffer with the previous one provided to it and outputs the diff as ANSI
ANSI escape codes for manipulating the terminal
A tiny and fast text wrap library which takes ANSI escapes into account.
An elegant lib that converts the chalked (ANSI) text to HTML. (Community)
The color gray, in ansi.
The color red, in ansi.
An elegant lib that converts the chalked (ANSI) text to HTML.
Convert ansi escaped text streams to html.
A lightweight package providing ANSI escape sequences for terminal cursor manipulation and screen clearing.
The color cyan, in ansi.
Advanced ANSI formatting tool for Node.js
ANSI escape codes for some terminal swag
A simple library containing all known terminal ansi escape codes and sequences.
Efficiently modify strings containing ANSI escape codes
User interface primitives for console applications
ANSI/VT rendering adapter for highlight-spans and theme-engine output
C FFI bindings for theme-engine, highlight-spans, and render-ansi
Tree-sitter ObjectScript highlight spans as attr/start/end tuples
Render AsciiArt to HTML and PNG format
Ruby-ANSI.SYS is a library to render texts with ANSI escape sequences.
Render a string using ANSI TTY codes
A library to render texts with ANSI escape sequences. Revived from RubyForge.
Kramdown::ANSI: A library for rendering Markdown(ish) documents with beautiful ANSI escape sequences in the terminal.
Glamour lets you render markdown documents & templates on ANSI compatible terminals.
Easily implement an HTML renderer by creating a subclass and adding some methods, similar to RedCarpet. (Examples are included for rendering HTML to ANSI and plain text.)
A gem that procedurally generates a seeded and customizable 2D map with optional roads using perlin noise. Map can be rendered in console using ansi colors or returned as 2D array of hashes describing each tile and binome. Completely customizable, use the --help option for full usage details.
Colorize text with ANSI colors. Parse and render files with a mini color markup language.
Renders Markdown with ANSI colors in pipes and an interactive curses pager in TTY.
Render sparklines, line charts (braille), candlestick charts, and bar charts as plain strings with ANSI color codes. Zero dependencies, pure Ruby.
Renders Markdown in the terminal using ANSI escape codes and the kitty text sizing protocol for headings.