1.0.2 • Published 2 years ago

tcol v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Tcol

npm package to add colors to your terminal

Installation

# npm
npm install tcol
# pnpm
pnpm install tcol

Usage

import { c } from "tcol";

console.log(c.Red("Hello"));

Available methods

Reset() // Reset all styles

Bright() // Bright text
Dim() // Dim text
Underscore() // Underlined text
Blink() // Blinking text
Reverse() // Reversed text
Hidden() // Hidden text     

Black() // Black text
Red() // Red text
Green() // Green text
Yellow() // Yellow text
Blue() // Blue text
Magenta() // Magenta text
Cyan() // Cyan text
White() // White text      

BgBlack() // Black background
BgRed() // Red background
BgGreen() // Green background
BgYellow() // Yellow background
BgBlue() // Blue background
BgMagenta() // Magenta background
BgCyan() // Cyan background
BgWhite() // White background
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago