Skip to content

alumbo/rainbow-console-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rainbow-console-log 🌈

Put some joy into your console.log (web browser console panel)

install

yarn add rainbow-console-log

or

npm i rainbow-console-log

init

import rainbowConsoleLog from 'rainbow-console-log';

rainbowConsoleLog();

usage

Once inited, your console.log function is overwritten, no need to change your code :

console.log('hello joy');

demo

What happens to other types?

When you log a value that is not a string (object, number...) it will be displayed as usual (not colored). If you log several values in the same call, it will not add spaces between each as usual but create a new line for each for more colors \o/ 🌈

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published