{"id":18715563,"url":"https://github.com/rawnly/clock.js","last_synced_at":"2025-11-10T06:30:17.183Z","repository":{"id":78840649,"uuid":"62801278","full_name":"rawnly/clock.js","owner":"rawnly","description":"Simple clock function","archived":false,"fork":false,"pushed_at":"2016-08-21T17:46:35.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T09:43:26.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/rawnly.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-07T11:19:54.000Z","updated_at":"2020-01-15T21:18:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"de3eb8f2-a712-402c-a8ee-8d023f8e5236","html_url":"https://github.com/rawnly/clock.js","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawnly%2Fclock.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawnly%2Fclock.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawnly%2Fclock.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawnly%2Fclock.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rawnly","download_url":"https://codeload.github.com/rawnly/clock.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239577792,"owners_count":19662289,"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","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-11-07T13:09:13.584Z","updated_at":"2025-11-10T06:30:14.842Z","avatar_url":"https://github.com/rawnly.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Usage\nDownload our [latest release](https://github.com/Rawnly/clock.js/releases) and include `clock.js` file \n```html\n\u003cscript src=\".../path/to/clock.js\"\u003e \u003c/script\u003e\n```\nthen to create a new clock use this: \n```JavaScript\n//set clock element\n$('#myDiv').newClock({\n  //options\n  type: 'classic', //by default is classic\n  ms: false //by default is false\n});\n```\n\nIf you want you can display ms with `$('#myDiv').newClock({ms:true});` or use the hex clock format `$('#myDiv').newClock({type:'hex'});` (ms must be false for hex clock)\n\n##Dependencies\nClock.js need [jQuery](https://github.com/jquery/jquery) to works, snippet below:\n\n```html\n\u003cscript src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js\"\u003e\u003c/script\u003e\n```\n\n#Other\n- A preview is available [**here**](https://webe.io/clocktest)\n- Coded with [**Atom**](http://atom.io), an amazing code editor\n- Made with love by [**Rawnly**](http://github.com/Rawnly) under [**MIT License**](https://github.com/Rawnly/clock.js/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawnly%2Fclock.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frawnly%2Fclock.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawnly%2Fclock.js/lists"}