colorful-console-log

Print console messages colorful in both terminal and browser.

Usage no npm install needed!

<script type="module">
  import colorfulConsoleLog from 'https://cdn.skypack.dev/colorful-console-log';
</script>

README

colorful-console-log

Travis npm package Coveralls

Print console messages colorful in both terminal and browser. currently supports rainbow colors(VIBGYOR)

Installation

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

Usage

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");