Skip to content

niksudan/time-greeting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

time-greeting

npm

Get a greeting based on the time of day

const timeGreeting = require('time-greeting');

timeGreeting();
// Good morning

timeGreeting('1970-01-01 21:00:00');
// Good evening