0.1.4 • Published 6 years ago

console-colorizer v0.1.4

Weekly downloads
7
License
MIT
Repository
-
Last release
6 years ago

console-colorizer

Adds colored console logging (for node and browser) and it makes colored console compatible with both terminal and browser.

Example:

import consoleColorizer from 'console-colorizer';

// colorize console:
consoleColorizer(console);

console.log('%cSome message here\n', 'bold hsla(120, 100%, 30%, 0.8)', { a: 1, b: 2, c: [ 3, 4, 5 ] });

The above will output a colored message to the console using ansi colors in the terminal and colors in the browser.

Caveats

This module doesn't support '%o'

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago