Custom Console Logging with Emoji
Debugging JavaScript can be painful and often means spending hours looking at boring console logs. Inspired by console.frog by Tim Holman, I made my own console logger โ but with customizable commands and emojis. Logging to the console is finally fun again, thanks to console.beer
console.unicorn
Go here to read the blog post and see it in action.
Example
Simply include console.emoji.js
in your project or copy/past/adapt the code.
// Logging to the console
console.unicorn("So magical!");
// Output
๐ฆ So magical!
License
Published under the MIT license. Inspired by and adapted from console.frog by Tim Holman.