{"id":27386267,"url":"https://github.com/igorkowalczyk/countdown","last_synced_at":"2025-04-13T17:18:09.471Z","repository":{"id":42122659,"uuid":"248060819","full_name":"IgorKowalczyk/countdown","owner":"IgorKowalczyk","description":"⏱️ Fast, accurate and lightweight countdown \u0026 stopwatch written in Typescript.","archived":false,"fork":false,"pushed_at":"2025-04-13T13:13:22.000Z","size":3830,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T17:18:01.759Z","etag":null,"topics":["countdown","javascript","ts","typescript"],"latest_commit_sha":null,"homepage":"https://npm.im/@igorkowalczyk/countdown","language":"TypeScript","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/IgorKowalczyk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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},"funding":{"github":["igorkowalczyk"]}},"created_at":"2020-03-17T19:54:06.000Z","updated_at":"2025-04-13T13:13:24.000Z","dependencies_parsed_at":"2023-12-16T23:49:19.929Z","dependency_job_id":"1f6434d0-2c6b-406e-babb-9d3920577051","html_url":"https://github.com/IgorKowalczyk/countdown","commit_stats":{"total_commits":352,"total_committers":4,"mean_commits":88.0,"dds":"0.30965909090909094","last_synced_commit":"9f4ad6de31504f78e16503fd0336b5925245e33c"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IgorKowalczyk%2Fcountdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IgorKowalczyk%2Fcountdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IgorKowalczyk%2Fcountdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IgorKowalczyk%2Fcountdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IgorKowalczyk","download_url":"https://codeload.github.com/IgorKowalczyk/countdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248750123,"owners_count":21155687,"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":["countdown","javascript","ts","typescript"],"created_at":"2025-04-13T17:18:08.909Z","updated_at":"2025-04-13T17:18:09.435Z","avatar_url":"https://github.com/IgorKowalczyk.png","language":"TypeScript","funding_links":["https://github.com/sponsors/igorkowalczyk"],"categories":[],"sub_categories":[],"readme":"![Countdown.js](https://github.com/IgorKowalczyk/countdown/assets/49127376/06b07e58-b5c0-43aa-b193-c88d5d4a18b2)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca aria-label=\"GitHub License\" href=\"https://github.com/igorkowalczyk/countdown/blob/master/license.md\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/igorkowalczyk/countdown?color=%2334D058\u0026logo=github\u0026style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Version\" href=\"https://github.com/igorkowalczyk/countdown/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/igorkowalczyk/countdown?color=%2334D058\u0026logo=github\u0026style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"NPM Downloads\" href=\"https://npmjs.org/package/@igorkowalczyk/countdown\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dt/@igorkowalczyk/countdown?style=flat-square\u0026logo=npm\u0026color=%2334D058\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## 📥 Installation\n\n```\nnpm install @igorkowalczyk/countdown\nyarn add @igorkowalczyk/countdown\npnpm add @igorkowalczyk/countdown\n```\n\n## 📦 Usage\n\n\u003c!-- automd:file src=\"./examples/example.ts\" code --\u003e\n\n```ts [example.ts]\nimport Timer from \"@igorkowalczyk/countdown\";\nconst timer = new Timer();\n\ntimer.on(\"tick\", (ms) =\u003e console.log(\"tick\", ms));\ntimer.on(\"done\", () =\u003e console.log(\"done!\"));\ntimer.on(\"statusChanged\", (status) =\u003e console.log(\"Status: \", status));\n\ntimer.start(20000); // Timer for 20s\n```\n\n\u003c!-- /automd --\u003e\n\n## ⁉️ Issues\n\nIf you come across any errors or have suggestions for improvements, please create a [new issue here](https://github.com/igorkowalczyk/countdown/issues) and describe it clearly.\n\n## 📥 Pull Requests\n\nWhen submitting a pull request, please follow these steps:\n\n- Clone [this repository](https://github.com/igorkowalczyk/countdown) `https://github.com/IgorKowalczyk/countdown.git`\n- Create a branch from `main` and give it a meaningful name (e.g. `my-awesome-new-feature`).\n- Open a [pull request](https://github.com/igorkowalczyk/countdown/pulls) on [GitHub](https://github.com/) and clearly describe the feature or fix you are proposing.\n\n## 📋 License\n\nThis project is licensed under the MIT. See the [LICENSE](https://github.com/igorkowalczyk/countdown/blob/master/license.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorkowalczyk%2Fcountdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorkowalczyk%2Fcountdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorkowalczyk%2Fcountdown/lists"}