1.0.0 • Published 8 years ago
goot v1.0.0
goot 
Goot humazine greetings :wave:
Install
$ yarn add gootUsage
import goot from 'goot'
import spacetime from 'spacetime'
const now = spacetime().hour()
goot(now)
// => Good morning
goot(now, 'de')
// => Guten morgenAPI
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