1.0.0 • Published 7 years ago

goot v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

goot Build Status

Goot humazine greetings :wave:

Install

$ yarn add goot

Usage

import goot from 'goot'
import spacetime from 'spacetime'

const now = spacetime().hour()

goot(now)
// => Good morning

goot(now, 'de')
// => 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

License

MIT © Bu Kinoshita

1.0.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago