A tool to help you color your browser console logs.
browserLogColors.log("Hello Aman","#ff00ff");
Outputs
browserLogColors.log("Hello Aman","#ff00ff",'#000000');
Outputs
browserLogColors.color("Hello Aman","#ff00ff",'#000000');
This returns an array of the different strings to output as the following:
["%cHello Aman", "background:#000000 ; color: #ff00ff"]
Minified - https://unpkg.com/browsercolorlogs@0.0.3/dist/index.js
Full - https://unpkg.com/browsercolorlogs@0.0.3/index.js
Colorifylog - Console log hex code colors for node
- Make support for text shadow
- Make it happen