goot
Goot humazine greetings 👋
Install
$ yarn add goot
Usage
const now = // => Good morning // => Guten morgen
API
goot(now, language)
Returns a string
now
Type: number
Required
now
should be between 0-23
.
Eg: new Date().getHours()
(current hour)
language
Type: string
Default: en
Options: en
, pt
, es
, fr
and de
Language of the greeting to be returned
Related
Example
- goot-web — React example using goot
- bu — Using in production on bukinoshita.io
- ritoplz — Using in production on ritoplz
License
MIT © Bu Kinoshita