console-color-style

1.0.2 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i console-color-style

      Weekly Downloads

      2

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      3.07 kB

      Total Files

      4

      Last publish

      Collaborators

      • carlos_neto