yulelog

    1.0.1 • Public • Published

    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.

    Install

    npm i yulelog

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.9 kB

    Total Files

    4

    Last publish

    Collaborators

    • sleepypikachu