{"id":19071800,"url":"https://github.com/yunsii/use-otp-input","last_synced_at":"2025-04-28T15:50:49.418Z","repository":{"id":213897704,"uuid":"733908739","full_name":"yunsii/use-otp-input","owner":"yunsii","description":"🚀 Awesome React Hook for One-time password (OTP) Input","archived":false,"fork":false,"pushed_at":"2023-12-25T12:21:55.000Z","size":159,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T10:23:53.757Z","etag":null,"topics":["hooks","input","one-time-code","one-time-password","otp","react","react-hooks"],"latest_commit_sha":null,"homepage":"https://use-otp-input.vercel.app","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/yunsii.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"yuns","custom":["https://afdian.net/@yunslove"]}},"created_at":"2023-12-20T12:07:38.000Z","updated_at":"2024-08-12T07:25:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"01c7a5af-c617-46dc-8fa6-9f9c1dc09d05","html_url":"https://github.com/yunsii/use-otp-input","commit_stats":null,"previous_names":["yunsii/use-otp-input"],"tags_count":4,"template":false,"template_full_name":"yunsii/starter-vite-react-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunsii%2Fuse-otp-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunsii%2Fuse-otp-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunsii%2Fuse-otp-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunsii%2Fuse-otp-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yunsii","download_url":"https://codeload.github.com/yunsii/use-otp-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251342700,"owners_count":21574242,"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":["hooks","input","one-time-code","one-time-password","otp","react","react-hooks"],"created_at":"2024-11-09T01:31:07.852Z","updated_at":"2025-04-28T15:50:49.412Z","avatar_url":"https://github.com/yunsii.png","language":"TypeScript","funding_links":["https://opencollective.com/yuns","https://afdian.net/@yunslove"],"categories":[],"sub_categories":[],"readme":"English | [简体中文](./README.zh-CN.md)\n\n# use-otp-input\n\n[![NPM version](https://img.shields.io/npm/v/use-otp-input?color=a1b858\u0026label=)](https://www.npmjs.com/package/use-otp-input)\n\n🚀 Awesome React Hook for One-time password (OTP) Input\n\n[Live Demo](https://use-otp-input.vercel.app)\n\n## Features\n\n- 🦄 Input more intuitive, just like [plain input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input), including paste text\n- ✨ Support `Backspace` and `Delete` keys, even shortcut with `Ctrl` key\n- 🎈 Support move caret by `Home`, `End`, `ArrowLeft` and `ArrowRight` keys\n\n## Build \u0026 Publish\n\n- `npm run build`\n- `npx changeset`\n- `npx changeset version`\n- `git commit`\n- `npx changeset publish`\n- `git push --follow-tags`\n\n\u003e [`changeset` prerelease doc](https://github.com/changesets/changesets/blob/main/docs/prereleases.md)\n\n## License\n\n[MIT](./LICENSE) License © 2023 [Yuns](https://github.com/yunsii)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunsii%2Fuse-otp-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyunsii%2Fuse-otp-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunsii%2Fuse-otp-input/lists"}