1.0.19 • Published 3 years ago

nodejs-colors v1.0.19

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

NodeJS Colors

Color text in your terminal

Installation

To install, follow below:

Type the following into your NodeJS terminal or your terminal of choice.

npm install nodejs-colors

Now follow the Usage below!

Usage

// Importing NodeJS Colors
const log = require('nodejs-colors');

// Text Fonts
log.bold('Bold');
log.underline('Underline');

// Using the colors
log.magenta('Magenta');

// Backgrounds
log.bgBlue('Background Blue');

// Using the reset option
log.cyan('Cyan');
log.reset();
console.log('Back to normal!');

Colors

reset
bold
underline
black
red
green
yellow
blue
magenta
cyan
white

Backgrounds

bgBlack
bgRed
bgGreen
bgYellow
bgBlue
bgMagenta
bgCyan
bgWhite
1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

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