1.0.19 • Published 4 years ago

nodejs-colors v1.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
4 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

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago