{"id":13809288,"url":"https://github.com/catc/react-timekeeper","last_synced_at":"2025-05-14T05:33:40.176Z","repository":{"id":37759353,"uuid":"79391065","full_name":"catc/react-timekeeper","owner":"catc","description":"Google Keep app inspired time picker for react :clock4:","archived":false,"fork":false,"pushed_at":"2023-12-04T20:05:19.000Z","size":2637,"stargazers_count":696,"open_issues_count":28,"forks_count":69,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-13T14:21:29.713Z","etag":null,"topics":["24hour","google-keep","hour","inline-styles","minutes","picker","react","time","time-picker"],"latest_commit_sha":null,"homepage":"https://catc.github.io/react-timekeeper","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/catc.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-18T22:26:50.000Z","updated_at":"2025-04-18T11:06:01.000Z","dependencies_parsed_at":"2023-02-07T17:30:53.305Z","dependency_job_id":"0cf70d3f-3adf-4f5d-ace4-d3356b496a2d","html_url":"https://github.com/catc/react-timekeeper","commit_stats":{"total_commits":183,"total_committers":14,"mean_commits":"13.071428571428571","dds":"0.23497267759562845","last_synced_commit":"19e5569ec1c75496e79d2fe126035276e6a0b965"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catc%2Freact-timekeeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catc%2Freact-timekeeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catc%2Freact-timekeeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catc%2Freact-timekeeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catc","download_url":"https://codeload.github.com/catc/react-timekeeper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254077023,"owners_count":22010642,"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":["24hour","google-keep","hour","inline-styles","minutes","picker","react","time","time-picker"],"created_at":"2024-08-04T01:02:15.234Z","updated_at":"2025-05-14T05:33:39.857Z","avatar_url":"https://github.com/catc.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003e\n\t\u003cimg height=\"350\" src=\"./screenshots/example.png\" /\u003e\n\t\u003cbr/\u003e\n\tReact Timekeeper\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/catc/react-timekeeper/actions/workflows/ci.yml?query=branch%3Amaster\"\u003e\n    \u003cimg src=\"https://github.com/catc/react-timekeeper/actions/workflows/ci.yml/badge.svg?branch=master\" alt=\"build\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/react-timekeeper\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/react-timekeeper\" alt=\"downloads\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/catc/react-timekeeper/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"license\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cb\u003e\n\t\tTime picker based on the style of the\n\t\t\u003ca href=\"https://play.google.com/store/apps/details?id=com.google.android.keep\" target=\"_blank\"\u003e\n\t\tAndroid Google Keep\n\t\t\u003c/a\u003e\n\t\tapp.\n\t\u003c/b\u003e\n\u003c/p\u003e\n\n------------\n\n**Features**\n- supports both 12 hour and 24 hour mode, and flexible time formats\n- simple to use with many customizable options\n- smooth, beautiful animations with [react spring](https://www.react-spring.io)\n- typescript support\n- css variable support for custom styles\n\n## Installation\n\n```shell\n$ yarn add react-timekeeper\n\n# or via npm\n$ npm install --save react-timekeeper\n```\n\nVersion 2+ of timekeeper requires [react hooks (v16.8)](https://reactjs.org/blog/2019/02/06/react-v16.8.0.html). If you're using an older version of react, install timekeeper v1 via\n```shell\n$ npm install --save react-timekeeper@^1.0.0\n```\n\n## Usage\n\n```javascript\nimport React, {useState} from 'react';\nimport TimeKeeper from 'react-timekeeper';\n\nfunction YourComponent(){\n  const [time, setTime] = useState('12:34pm')\n\n  return (\n    \u003cdiv\u003e\n      \u003cTimeKeeper\n        time={time}\n        onChange={(data) =\u003e setTime(data.formatted12)}\n      /\u003e\n      \u003cspan\u003eTime is {time}\u003c/span\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\nAll styles are inlined via [emotion](https://github.com/emotion-js/emotion) so no css imports are required.\n\n## API\nFor full api and examples, see [API docs](https://catc.github.io/react-timekeeper/#api) and [examples](https://catc.github.io/react-timekeeper/#examples)\n\n\n\n## Development\n1. Clone the repo\n3. `nvm use v12.16.0` (or anything \u003e12+)\n2. `yarn install`\n    - may also need to install react since it's a peer dev: `yarn add -P react react-dom`\n3. `npm run docs:dev`\n4. Navigate to `localhost:3002`\n\n### Contributing\nBefore submitting a PR, ensure that:\n1. you follow all eslint rules (should be automatic)\n1. all tests pass via `npm run tests`\n1. everything builds\n    - docs - `npm run docs:build`\n    - lib - `npm run lib`\n1. provide detailed info on what bug you're fixing or feature you're adding - if possible include a screenshot/gif\n\n------------\n\nOther useful commands:\n- new npm releases:\n  - bump version: `npm version NEW_VERSION`, commit and push - CI should publish to npm automatically\n- new github releases\n  - manual (TODO - add github action)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatc%2Freact-timekeeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatc%2Freact-timekeeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatc%2Freact-timekeeper/lists"}