Since I built the CodePen console, console.frog has been sitting randomly in my #TODO list... a randomly silly console api that logs out a frog, speaking your log, instead of a regular log.

The gist of it, is pretty simple

  // Here is you, logging some logs
console.log("Boring.");

  // And here is your output.
Boring.


And then with console.frog...

  // Here is happy you, logging some logs
console.frog("Amazing!");

  // And here is your output.
          _,-.     ------------
  ,-. ,--'  o ) -(   Amazing!   )
  \(,' '  ,,-'     ------------
 ,-.\-.__,\\_
 \(`--'    `\ 


The fun here really, is a few others have popped up with some fun variations!

We have, console.sloth

  // Here is happy you, logging some logs
console.sloth("Heyyy!");

  // And here is your output.
=====(((=))=====(=)))===========
      " `,      |' /
      /"/        |""
     """|        \"|
     |"||        " "
     "" "        |"|\
    /""~\\.      /" ""~,
   ""~""""`"",~`~"!!"!" \
   /"""""/""! "~""" "" "~",
  //\""!!""~"!"!"\"""/~!~, C~"~P
 // !!"""""! "~ " !!"!! "," O o"~   ------------
 ||   !!"!!~!!~||"  !     "" Y "" -(   Heyyy!   )-      
 \\     !  !  !            `"U"'    ------------
  \\
   \\  0))
    \`-~/~
     `~'


Console.toad

  // Here is happy you, logging some logs
console.toad("Excited!");

  // And here is your output.
/_____    _____\   ------------
|  \\ |__|  \\ |-(   Excited!   )
|_____/  \_____|   ------------
     /^ ^ \     
   (  ____; )  


Console dot emoji

  // Logging to the console
console.beer("So magical!");

  // Output
🍺  So magical!


As well as a couple of other console librarys, that preceeded my own! Console.loge being my favorite!

Just goes to show how a little bit of fun, can echo a long way through our dev communities. Keep it up!


1,037 1 13