Print console messages colorful in both terminal and browser. currently supports rainbow colors(VIBGYOR)
To install the stable version you can use npm or yarn:
Using npm:
$ npm i colorful-console-log --save
Using yarn:
$ yard add colorful-console-log
Include into your javascript file:
import $console from 'colorful-console-log';
$console.violet("message in violet color");
$console.indigo("message in indigo color");
$console.blue("message in blue color");
$console.green("message in green color");
$console.yellow("message in yellow color");
$console.orange("message in orange color");
$console.red("message in red color");