Skip to main content
Module

x/cliffy/ansi/colors.ts>colors

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
variable colors
import { colors } from "https://deno.land/x/cliffy@v1.0.0-rc.3/ansi/colors.ts";

Chainable colors module.

import { colors } from "./mod.ts";

console.log(colors.blue.bgRed.bold('Welcome to Deno.Land!'));

If invoked as method, a new Ansi instance will be returned.

import { Colors, colors } from "./mod.ts";

const myColors: Colors = colors();
console.log(myColors.blue.bgRed.bold('Welcome to Deno.Land!'));