1.0.5 • Published 3 years ago

coloterm v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ColoTerm

ColoTerm is a small JavaScript Code that replace the old console.log() function, with ColoTerm add a nice color and amazing background color to your terminal. Make it Colored!

Installation

Use the package manager npm to install ColoTerm.

npm i coloterm

text colors

• black • red • green • yellow • blue • magenta • cyan • white

bright text colors

• brightRed • brightGreen • brightYellow • brightBlue • brightMagenta • brightCyan • brightWhite

background colors

• black • red • green • yellow • blue • magenta • cyan • white

bright background colors

• brightRed • brightGreen • brightYellow • brightBlue • brightMagenta • brightCyan • brightWhite

Usage

const coloterm = require('coloterm');

// Print 'text' to terminal
coloterm.log('this is text', {
   color: red,
   background: white
})

// return 'text' after colored then print it to terminal
const text = coloterm.text('this is text', {
   color: red,
   background: white
   });
console.log(text)
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago