{"id":13394286,"url":"https://github.com/radumardale/react-keyboard-time-input","last_synced_at":"2025-03-13T20:31:26.004Z","repository":{"id":57333630,"uuid":"91589336","full_name":"radumardale/react-keyboard-time-input","owner":"radumardale","description":"A keyboard friendly react component for capturing time","archived":false,"fork":true,"pushed_at":"2019-06-14T14:24:09.000Z","size":1147,"stargazers_count":11,"open_issues_count":2,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T04:34:08.161Z","etag":null,"topics":["react-time-field","simple-time-field","time-input"],"latest_commit_sha":null,"homepage":"https://radumardale.github.io/react-keyboard-time-input/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"alanclarke/time-input","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radumardale.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":"2017-05-17T15:02:04.000Z","updated_at":"2021-10-28T16:14:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/radumardale/react-keyboard-time-input","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radumardale%2Freact-keyboard-time-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radumardale%2Freact-keyboard-time-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radumardale%2Freact-keyboard-time-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radumardale%2Freact-keyboard-time-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radumardale","download_url":"https://codeload.github.com/radumardale/react-keyboard-time-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243125685,"owners_count":20240273,"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":["react-time-field","simple-time-field","time-input"],"created_at":"2024-07-30T17:01:14.906Z","updated_at":"2025-03-13T20:31:25.587Z","avatar_url":"https://github.com/radumardale.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# react-keyboard-time-input\n\n[![Build Status](https://travis-ci.org/radumardale/react-keyboard-time-input.svg?branch=master)](https://travis-ci.org/radumardale/react-keyboard-time-input)\n[![codecov](https://codecov.io/gh/radumardale/react-keyboard-time-input/branch/master/graph/badge.svg)](https://codecov.io/gh/radumardale/react-keyboard-time-input)\n\n[![PeerDependencies](https://img.shields.io/david/peer/radumardale/react-keyboard-time-input.svg)](https://david-dm.org/radumardale/react-keyboard-time-input#info=peerDependencies\u0026view=list)\n[![Dependencies](https://img.shields.io/david/radumardale/react-keyboard-time-input.svg)](https://david-dm.org/radumardale/react-keyboard-time-input)\n[![DevDependencies](https://img.shields.io/david/dev/radumardale/react-keyboard-time-input.svg)](https://david-dm.org/radumardale/react-keyboard-time-input#info=devDependencies\u0026view=list)\n\nForked from [alanclarke/time-input](https://github.com/alanclarke/time-input).\n\nA keyboard friendly react component for capturing time.\n\n[DEMO HERE](https://radumardale.github.io/react-keyboard-time-input/)\n\n## Features\n- supports `react 16`\n- supports es6 and commonjs modules\n- small UI surface area (just a form input)\n- keyboard friendly (can type times, use up and down keys to go forwards and backwards in time, can tab between time groups)\n- simple api (infers most options from value, e.g. 24hr time or 12hr, whether to display seconds and milliseconds)\n- easy going UX: ignores invalid input and simply skips over separator if omitted\n- no dependencies\n- 95% test coverage\n\n## Installation\n```\nyarn add react-keyboard-time-input\n```\nor\n```\nnpm install react-keyboard-time-input\n```\n\n## Usage\n```js\nimport ReactDom from 'ReactDom';\nimport TimeInput from 'react-keyboard-time-input';\n\nfunction render (value) {\n  ReactDom.render((\n    \u003cTimeInput value={value} onChange={render}/\u003e\n  ), document.body)\n}\n\nrender()\n```\n\n## Valid formats\n```js\n/*\n * '12:00'\n * '12:00 AM'\n * '12:00:00'\n * '12:00:00:000 AM'\n*/\n```\n## Run tests\n```\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradumardale%2Freact-keyboard-time-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradumardale%2Freact-keyboard-time-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradumardale%2Freact-keyboard-time-input/lists"}