Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ansi_esc/text.ts

A Deno module/wrapper for ANSI escape sequences.
Latest
import * as ansiEsc from "https://deno.land/x/ansi_esc@v1.1.0/text.ts";

Variables

ANSI escape codes for background

ANSI escape codes for foreground

ANSI escape codes for styling text

Functions

Return a formatted string based on parameters

Returns an ANSI escape sequence based on RGB values (defaults to foreground).