humanized-part-of-day

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i humanized-part-of-day

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • loanlaux