{"id":17772610,"url":"https://github.com/jamesplease/emoji-clock","last_synced_at":"2026-01-21T02:07:23.351Z","repository":{"id":57224735,"uuid":"48308654","full_name":"jamesplease/emoji-clock","owner":"jamesplease","description":"An emoji clock web component","archived":false,"fork":false,"pushed_at":"2015-12-22T00:44:04.000Z","size":177,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T18:24:19.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesplease.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-20T05:35:38.000Z","updated_at":"2015-12-21T05:42:23.000Z","dependencies_parsed_at":"2022-09-04T07:01:30.997Z","dependency_job_id":null,"html_url":"https://github.com/jamesplease/emoji-clock","commit_stats":null,"previous_names":["jmeas/emoji-clock"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamesplease/emoji-clock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Femoji-clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Femoji-clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Femoji-clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Femoji-clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesplease","download_url":"https://codeload.github.com/jamesplease/emoji-clock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Femoji-clock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28622473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"online","status_checked_at":"2026-01-21T02:00:08.227Z","response_time":86,"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":[],"created_at":"2024-10-26T21:40:01.432Z","updated_at":"2026-01-21T02:07:23.328Z","avatar_url":"https://github.com/jamesplease.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Emoji Clock\n\nThis is a web component for an emoji clock.\n\n### Why?\n\nI was interested to see what the current 'native' web component situation is when no polyfills are used.\n\n### Should I use this?\n\nIt's just an experiment; so far I've only tested that it works on Chrome 47.\n\n### Installation\n\nIt's not particularly easy to install this thing yet. Check back soon!\n\n### Getting Started\n\nRegister your custom element in JavaScript. I recommend using the name `emoji-clock`, but you can\nuse whatever you'd like.\n\n```js\nvar emojiClock = require('emoji-clock');\n\ndocument.registerElement('emoji-clock', {\n  prototype: emojiClock\n});\n```\n\nAfter that, you can use the element in your HTML!\n\n```html\n\u003cemoji-clock time=\"2:30\"\u003e\u003c/emoji-clock\u003e\n```\n\n### Usage\n\nThe web component has a single custom attribute: `time`. The format should be `hour:minute`. Leading zeros\non numbers are optional. For instance, two twenty can be written as `2:20` or `02:20`.\n\nDynamically updating the attribute in JavaScript will update the emoji that is displayed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesplease%2Femoji-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesplease%2Femoji-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesplease%2Femoji-clock/lists"}