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

x/cliffy/mod.ts>AnsiChain

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

Ansi instance returned by all ansi escape properties.

Call Signatures

(): string

Get ansi escape sequence.

Methods

toString(): string

Get ansi escape sequence.

toBuffer(): Uint8Array

Get ansi escape sequence as Uint8Array.