Skip to content

sleepypikachu/yulelog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yulelog

Inspired by @ChloeCondon's Tweet. Bring some Christmas Emoji to your logging!

Functionality

If the current month is December and the date is on or before the 25th a festive emoji will be added to your console.log messages.

> new Date()
2020-12-17T15:43:49.638Z
> console.log("Merry, Christmas!");
Merry, Christmas!
undefined
> require('yulelog')
{ log: [Function: yuleLog] }
> console.log("Merry, Christmas!");
🌟: Merry, Christmas!
undefined
> 

You can get year round cheer by using the log function exported from this package.

const yuleLog = require('yulelog');

yuleLog.log('Hello')

// 🍪: hello

Should I use this in production?

Emphatically, yes.

About

Bring some Christmas Emoji to your logging!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published