Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/cliffy/ansi/ansi.ts>AnsiChain

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
interface AnsiChain
implements Chain<AnsiChain>
import { type AnsiChain } from "https://deno.land/x/cliffy@v1.0.0-rc.7/ansi/ansi.ts";

Ansi instance returned by all ansi escape properties.

Call Signatures

(): string

Get ansi escape sequence.

Methods

toString(): string

Get ansi escape sequences as string.

bytes(): Uint8Array

Get ansi escape sequences as bytes.