1.0.2 • Published 4 years ago

console-color-style v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Console Color Style

Package for the purpose of providing colored outputs on the console

Quick Start

Install

# using npm
$ npm install console-color-style
# using yarn
$ yarn add console-color-style

Exemple

You must import the package and use the printf method

const { printf } = require('console-color-style');
// 1) the function receives two parameters
// 2) the first is the color and the second the information to be displayed
printf('green', 'Hello World');

Supported Colors

  • blue;
  • red;
  • black;
  • green;
  • yellow;
  • magneta;
  • cyan ;
  • white;
  • default.