Put some joy into your console.log (web browser console panel)
yarn add rainbow-console-log
or
npm i rainbow-console-log
import rainbowConsoleLog from 'rainbow-console-log';
rainbowConsoleLog();
Once inited, your console.log
function is overwritten, no need to change your code :
console.log('hello joy');
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/ 🌈