Skip to content

Variable ANSI

const ANSI: { bg: { }; decoration: { bold: string; dim: string; }; fg: { black: string; blue: string; cyan: string; green: string; magenta: string; red: string; white: string; yellow: string; }; reset: string; }

Source: ansi.const.ts

Type Declaration

bg

bg: { } = {}

decoration

decoration: { bold: string; dim: string; }

decoration.bold

bold: string = "\u001b[1m"

decoration.dim

dim: string = "\u001b[2m"

fg

fg: { black: string; blue: string; cyan: string; green: string; magenta: string; red: string; white: string; yellow: string; }

fg.black

black: string = "\u001b[30m"

fg.blue

blue: string = "\u001b[34m"

fg.cyan

cyan: string = "\u001b[36m"

fg.green

green: string = "\u001b[32m"

fg.magenta

magenta: string = "\u001b[35m"

fg.red

red: string = "\u001b[31m"

fg.white

white: string = "\u001b[37m"

fg.yellow

yellow: string = "\u001b[33m"

reset

reset: string = "\u001b[0m"

Built by Prozilla