@brianwalczak/consolecoloring

1.0.2 • Public • Published

ConsoleColoring: A simple utility to set the color of your console's text

NPM Stats

Setup

Setting up ConsoleColoring is really simple!

var color = require('@brianwalczak/consolecoloring');

Examples

Example of using ConsoleColoring for setting the console font color

var color = require('@brianwalczak/consolecoloring');

color("Green", "Font")
console.log("The color of this text is green")

Example of using ConsoleColoring for setting the console text background color

var color = require('@brianwalczak/consolecoloring');

color("Green", "Background")
console.log("The background of this text is green")

Colors

  • Black

  • Red

  • Green

  • Yellow

  • Blue

  • Magenta

  • Cyan

  • White

Setting Types

  • Font [Set's the font color]

  • Background [Set's the background color]

Package Sidebar

Install

npm i @brianwalczak/consolecoloring

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

3.6 kB

Total Files

3

Last publish

Collaborators

  • brianwalczak