{"id":16092396,"url":"https://github.com/bukinoshita/goot","last_synced_at":"2025-07-29T08:07:01.178Z","repository":{"id":51777837,"uuid":"81232340","full_name":"bukinoshita/goot","owner":"bukinoshita","description":":wave: Goot humanize greetings.","archived":false,"fork":false,"pushed_at":"2022-12-06T14:34:37.000Z","size":225,"stargazers_count":14,"open_issues_count":7,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T06:52:22.459Z","etag":null,"topics":["goot","humanizer","javascript","nodejs","time"],"latest_commit_sha":null,"homepage":"https://goot.now.sh/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bukinoshita.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-07T17:01:50.000Z","updated_at":"2020-01-22T12:38:13.000Z","dependencies_parsed_at":"2023-01-24T02:01:00.772Z","dependency_job_id":null,"html_url":"https://github.com/bukinoshita/goot","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/bukinoshita/goot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fgoot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fgoot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fgoot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fgoot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bukinoshita","download_url":"https://codeload.github.com/bukinoshita/goot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fgoot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267652659,"owners_count":24122095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["goot","humanizer","javascript","nodejs","time"],"created_at":"2024-10-09T16:07:54.249Z","updated_at":"2025-07-29T08:07:01.134Z","avatar_url":"https://github.com/bukinoshita.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# goot [![Build Status](https://travis-ci.org/bukinoshita/goot.svg?branch=master)](https://travis-ci.org/bukinoshita/goot)\n\n\u003e Goot humazine greetings :wave:\n\n\n## Install\n\n```bash\n$ yarn add goot\n```\n\n\n## Usage\n\n```js\nimport goot from 'goot'\nimport spacetime from 'spacetime'\n\nconst now = spacetime().hour()\n\ngoot(now)\n// =\u003e Good morning\n\ngoot(now, 'de')\n// =\u003e Guten morgen\n```\n\n\n## API\n\n### goot(now, language)\n\nReturns a `string`\n\n#### now\n\nType: `number`\u003cbr/\u003e\nRequired\n\n`now` should be between `0-23`.\n\nEg: `new Date().getHours()` (current hour)\n\n#### language\n\nType: `string`\u003cbr/\u003e\nDefault: `en`\u003cbr/\u003e\nOptions: `en`, `pt`, `es`, `fr` and `de`\n\nLanguage of the greeting to be returned\n\n\n## Related\n\n- [Behind The Product: Goot humanize greetings](https://bukinoshita.io/blog/behind-the-product-goot-humanize-greetings)\n\n\n## Example\n- [goot-web](https://github.com/bukinoshita/goot-web) — React example using goot\n- [bu](https://github.com/bukinoshita/bu/blob/master/pages/blog/behind-the-product-goot-humanize-greetings.js#L18-L23) — Using in production on [bukinoshita.io](https://bukinoshita.io)\n- [ritoplz](https://github.com/ritoplz/ritoplz/blob/master/pages/signup.js#L25-L29) — Using in production on ritoplz\n\n\n## License\n\nMIT © [Bu Kinoshita](https://bukinoshita.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fgoot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbukinoshita%2Fgoot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fgoot/lists"}