Package for the purpose of providing colored outputs on the console
# using npm
$ npm install console-color-style
# using yarn
$ yarn add console-color-style
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');
- blue;
- red;
- black;
- green;
- yellow;
- magneta;
- cyan ;
- white;
- default.