tcol
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i tcol

Weekly Downloads

10

Version

1.0.2

License

ISC

Unpacked Size

2.47 kB

Total Files

5

Last publish

Collaborators

  • posandu