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