{"id":21525274,"url":"https://github.com/superraytin/react-tick","last_synced_at":"2025-03-17T18:18:51.467Z","repository":{"id":57346368,"uuid":"48106670","full_name":"superRaytin/react-tick","owner":"superRaytin","description":"Countdown timer for React","archived":false,"fork":false,"pushed_at":"2016-01-10T08:34:25.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T03:35:11.119Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/superRaytin.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":"2015-12-16T11:32:58.000Z","updated_at":"2018-08-11T01:19:54.000Z","dependencies_parsed_at":"2022-09-18T11:02:35.519Z","dependency_job_id":null,"html_url":"https://github.com/superRaytin/react-tick","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superRaytin%2Freact-tick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superRaytin%2Freact-tick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superRaytin%2Freact-tick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superRaytin%2Freact-tick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/superRaytin","download_url":"https://codeload.github.com/superRaytin/react-tick/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244085008,"owners_count":20395523,"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-24T01:34:11.367Z","updated_at":"2025-03-17T18:18:51.449Z","avatar_url":"https://github.com/superRaytin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-tick\n\u003e Countdown timer for React\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url]\n\n[![react-tick](https://nodei.co/npm/react-tick.png)](https://npmjs.org/package/react-tick)\n\n[npm-url]: https://npmjs.org/package/react-tick\n[downloads-image]: http://img.shields.io/npm/dm/react-tick.svg\n[npm-image]: http://img.shields.io/npm/v/react-tick.svg\n\n# Installation\n\n```\nnpm install react-tick\n```\n\n# Usage\n\n```js\nvar React = require('react');\nvar Tick = require('react-tick');\nvar ReactDOM = require('react-dom');\nReactDOM.render(\n    \u003cTick\n        format=\"remain: {dd} days {hh} hours {mm} minutes {ss} seconds\"\n        endTime=\"2015/12/31 23:59:59\"\n        onTimeUp={onTimeUp} /\u003e,\n    mountNode\n);\n```\n\n# Manifest\n\n### format\n\nA string used to format the display string with some variables. HTML tags is supported.\n\n- **dd** remain days.\n- **hh** remain hours.\n- **mm** remain minutes.\n- **ss** remain seconds.\n\n### endTime\n\nA string to indicate end time, the time format should be `yyyy/MM/dd hh:mm:ss` like `2012/12/31 23:59:59`.\n\n### onTimeUp\n\nA function will be executed when time is up.\n\n# License\n\nMIT, see the [LICENSE](/LICENSE) file for detail.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperraytin%2Freact-tick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuperraytin%2Freact-tick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperraytin%2Freact-tick/lists"}