{"id":26053501,"url":"https://github.com/afek-sakaju/digital-clock-react","last_synced_at":"2026-04-08T16:02:17.259Z","repository":{"id":92477597,"uuid":"590845931","full_name":"Afek-Sakaju/digital-clock-react","owner":"Afek-Sakaju","description":"Digital Clock component for React applications (available as an NPM package) , developed during my time at the JLT coding bootcamp.  Users can customize size, static behavior, and timestamp for custom time, with a toggle for 24-hour and AM/PM formats.","archived":false,"fork":false,"pushed_at":"2024-04-27T11:23:06.000Z","size":5210,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-07T10:32:01.845Z","etag":null,"topics":["custom-npm-package","digital-clock","eslint","jest","jsdocs","reactjs","sass","storybook"],"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/Afek-Sakaju.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-19T10:56:26.000Z","updated_at":"2025-01-18T21:34:26.000Z","dependencies_parsed_at":"2023-07-18T22:51:54.906Z","dependency_job_id":"10f4abca-2f29-4795-9d34-620f89de269e","html_url":"https://github.com/Afek-Sakaju/digital-clock-react","commit_stats":null,"previous_names":["afek-sakaju/digital-clock-react","afektheminilearner/digital-clock-react"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Afek-Sakaju/digital-clock-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Afek-Sakaju%2Fdigital-clock-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Afek-Sakaju%2Fdigital-clock-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Afek-Sakaju%2Fdigital-clock-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Afek-Sakaju%2Fdigital-clock-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Afek-Sakaju","download_url":"https://codeload.github.com/Afek-Sakaju/digital-clock-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Afek-Sakaju%2Fdigital-clock-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["custom-npm-package","digital-clock","eslint","jest","jsdocs","reactjs","sass","storybook"],"created_at":"2025-03-08T07:42:57.886Z","updated_at":"2026-04-08T16:02:17.242Z","avatar_url":"https://github.com/Afek-Sakaju.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital-Clock-React\n\n### This NPM package presents a digital clock component tailored for React applications. It utilizes ReactJS, JavaScript, SASS, and ESLint to create an intuitive and visually appealing clock feature. With easy integration capabilities, it seamlessly becomes a part of any application, enhancing its functionality. \u003cbr /\u003e\n\n\u003cimg src=\"./readme-resources/clock.png\" width=150px height=150px align=\"right\"\u003e\n\n---\n\n**Live demo:** \u003c/br\u003e[digital-clock-react](http://Afek-Sakaju.github.io/digital-clock-react)\n\n---\n\n## Configuration Options\n\n### The digital clock component offers a variety of configuration options to customize its appearance and functionality, including:\n\n-   **size**: You have the option to showcase the clock face in two sizes: medium or small.\n-   **timestamp**: The clock has the capability to exhibit a precise timestamp, enabling you to depict any desired time.\n-   **isMode24H(24/12 Hours Mode)**: The clock offers the flexibility to be presented in either the 12-hour or 24-hour format.\n-   **useInterval**: You can optionally use the clock as a static display by turning off the interval.\n\n\u003c/br\u003e\n\n## Usage:\n\n```js\nimport React from \"react\";\nimport { Clock } from \"digital-clock-react\";\nimport { myTimestamp } from \"./consts\";\n\nfunction App() {\n    return (\n        \u003cdiv className=\"app-container\"\u003e\n            \u003cClock\n                isMode24H\n                size=\"small\"\n                useInterval={false}\n                timestamp={myTimestamp}\n            /\u003e\n        \u003c/div\u003e\n    );\n}\n\nexport default App;\n```\n\n**Installation:**\u003c/br\u003e\n\n-   `npm install digital-clock-react` \u003cbr /\u003e Include the package in your project's dependencies.\n\n**Development:**\u003c/br\u003e\n\n-   `npm run build-jsdocs`\u003c/br\u003eFor JSDocs of the utils functions, after running open the 'index.html' file located inside the 'js-docs' folder.\n\n---\n\n### **Here's an example showcasing the utilization of the clock component:**\n\n![Example-GIF](./readme-resources/clock-gif.gif)\n\n---\n\n## Author\n\n:octocat: **Afek Sakaju**\n\n-   LinkedIn: [@afeksa](https://www.linkedin.com/in/afeksa/)\n-   GitHub: [@Afek-Sakaju](https://github.com/Afek-Sakaju)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafek-sakaju%2Fdigital-clock-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafek-sakaju%2Fdigital-clock-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafek-sakaju%2Fdigital-clock-react/lists"}