1.0.19 • Published 5 years ago

nodejs-colors v1.0.19

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

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago