{"id":19253532,"url":"https://github.com/webcyou/countup-timer-js","last_synced_at":"2025-04-21T14:32:09.436Z","repository":{"id":57209910,"uuid":"63985971","full_name":"webcyou/countup-timer-js","owner":"webcyou","description":"Countup Timer JavaScript Library","archived":false,"fork":false,"pushed_at":"2017-03-27T11:44:12.000Z","size":42,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T00:18:30.504Z","etag":null,"topics":["counter","countup","javascript","timer"],"latest_commit_sha":null,"homepage":null,"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/webcyou.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":"2016-07-22T22:02:30.000Z","updated_at":"2021-11-15T10:30:19.000Z","dependencies_parsed_at":"2022-08-30T16:11:29.493Z","dependency_job_id":null,"html_url":"https://github.com/webcyou/countup-timer-js","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcyou%2Fcountup-timer-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcyou%2Fcountup-timer-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcyou%2Fcountup-timer-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcyou%2Fcountup-timer-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webcyou","download_url":"https://codeload.github.com/webcyou/countup-timer-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250070282,"owners_count":21369847,"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":["counter","countup","javascript","timer"],"created_at":"2024-11-09T18:31:32.165Z","updated_at":"2025-04-21T14:32:09.209Z","avatar_url":"https://github.com/webcyou.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CountUpTimerJS\nCountUpTimerJS - RealTime CountUp Timer JavaScript Library\n\n### これは何？\nカウントアップタイマー、JavaScriptライブラリです。\n\n### demo\n[デモページ](https://webcyou.github.io/countup_timer/)\n\n###  Quick start\n\n**Clone the repo:**\n```\ngit clone git@github.com:webcyou/countup-timer-js.git\n```\n\n**Install with [Bower](http://bower.io):**\n```\nbower install countup-timer.js\n```\n\n**Install with [npm](https://www.npmjs.com):**\n\n```\nnpm install countup-timer-js\n```\n\n\n### Basic Usage\n\n```\n\u003cscript src=\"countup_timer.js\"\u003e\u003c/script\u003e\n```\n\n### Basic Format\n```\n\"hh:mm:ss\"\n```\n\n\n### Start DataSet\n\n```\nnew CountUpTimer(\"hh:mm:ss\", callBack);\n```\n\n\n**example**\n\n```\nnew CountUpTimer(\"12:11:2\", function(times, parameters) {\n    console.log(times);\n});\n```\n\n**subscribe**\n\n```\nvar timer = new CountUpTimer(\"hh:mm:ss\");\n\ntimer.subscribe(function(times, parameters) {\n  ...\n});\n\n```\n\n\n### CallBack\n\n\n```\nnew CountUpTimer(Times, function(times, parameters) {\n  ...\n});\n```\n\n**time**\n\ntimes: string\n```\n\"hh:mm:ss\"\n```\n\nprams: Time\n\n### CallBack Parameters Reference\n\n| ParametersName | value         | Detail                | \n| --------------- |:---------------:| -------------------- |\n| id | number | created date Id |\n| splitTimes | string[] | [hours, minute, second] |\n| H | number | hours |\n| M | number | minute |\n| S | number | minute |\n| times | string | \"hh:mm:ss\" |\n| isNextDay | boolean | To become true is the one time of 24:00 . |\n| createdAt | string | Time that was created |\n\n### Start develop\n```\nnpm install\ngulp \n```\n\n```\nServer started http://localhost:8088\nLiveReload started on port 35729\n```\n\n### Start Test\n\n**mocha**\n```\ngulp mocha\n```\n\n**mocha watch**\n```\ngulp mocha.watch\n```\n\n\n### Author\nDaisuke Takayama\n[Web帳](http://www.webcyou.com/)\n\n\n### License\nCopyright (c) 2016 Daisuke Takayama\nReleased under the [MIT license](http://opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcyou%2Fcountup-timer-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebcyou%2Fcountup-timer-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcyou%2Fcountup-timer-js/lists"}