Skip to content

Super small utility that returns the current part of the day (morning, afternoon, evening).

License

Notifications You must be signed in to change notification settings

loanlaux/humanized-part-of-day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

humanized-part-of-day

Super small utility that returns the current part of the day (morning, afternoon, evening).

Installation:

npm install humanized-part-of-day

Usage:

const partOfDay = require("humanized-part-of-day");

console.log(partOfDay.getCurrent()); // Prints `MORNING`, `AFTERNOON` or `EVENING` depending on current part of day

About

Super small utility that returns the current part of the day (morning, afternoon, evening).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published