1.0.0 • Published 2 years ago

time-to-greetings v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

GreetingsByTime

This is library to be used in any angular 2+ application. This current version simply gives the user the appropriate greetings with respect to the current day's time.

@todo

It return a string of "Good morning" if the current time of the day morning, "Good afternoon" if current time of the day in the afternoon and "Good evening" if current time of the day is in the evening.

Other features

Other features with respect to time will be coming up in other updates.

Usage

1) Kindly install the library package from npm; 2) Import the (GreetingsByTimeModule) from the package to your AppModule; 3) Import CurrentGreetings as a provider to your component 4) Call the CheckDayTime()