Last active
May 11, 2016 16:48
-
-
Save uadev/6f7a3349e716502ad136e97c7a3fb06a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let curHr = require('today').getHours(); | |
const greeting = new require('greeting')('@team'); | |
if(curHr<12){ | |
greeting.hello('morning'); | |
}else if(curHr<18){ | |
greeting.hello('afternoon'); | |
}else{ | |
greeting.hello('evening'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment