{"id":29142395,"url":"https://github.com/think2011/z-countdown","last_synced_at":"2025-06-30T19:37:38.308Z","repository":{"id":57405003,"uuid":"70471084","full_name":"think2011/z-countdown","owner":"think2011","description":"倒计时","archived":false,"fork":false,"pushed_at":"2016-10-14T06:25:13.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-11T09:54:26.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/think2011.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":"2016-10-10T09:07:15.000Z","updated_at":"2016-10-10T09:09:47.000Z","dependencies_parsed_at":"2022-09-26T17:01:41.009Z","dependency_job_id":null,"html_url":"https://github.com/think2011/z-countdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/think2011/z-countdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/think2011%2Fz-countdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/think2011%2Fz-countdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/think2011%2Fz-countdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/think2011%2Fz-countdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/think2011","download_url":"https://codeload.github.com/think2011/z-countdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/think2011%2Fz-countdown/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262839762,"owners_count":23372782,"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":"2025-06-30T19:37:30.706Z","updated_at":"2025-06-30T19:37:38.298Z","avatar_url":"https://github.com/think2011.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# z-countdown\n倒计时\n\n\n```js\n    // var countdown = new Class(Date.now('2016-10-10 17:07:22'))\n    var countdown = new Class(Date.now() + 5000)\n\n    setTimeout(function () {\n        countdown.pause()\n    }, 800)\n\n    setTimeout(function () {\n        countdown.start()\n    }, 2000)\n\n    countdown\n        .on('countdown', function (time) {\n            console.log(time)\n        })\n        .on('end', function () {\n            console.log('end')\n        })\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthink2011%2Fz-countdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthink2011%2Fz-countdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthink2011%2Fz-countdown/lists"}