{"id":25376859,"url":"https://github.com/terrierscript/react-auto-kana","last_synced_at":"2025-10-30T08:31:26.721Z","repository":{"id":28237839,"uuid":"31742806","full_name":"terrierscript/react-auto-kana","owner":"terrierscript","description":"React japanese auto input kana","archived":false,"fork":false,"pushed_at":"2015-04-12T15:51:48.000Z","size":2884,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T12:17:43.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://inuscript.github.io/react-auto-kana/","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/terrierscript.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":"2015-03-05T23:38:35.000Z","updated_at":"2021-02-17T08:03:58.000Z","dependencies_parsed_at":"2022-09-15T12:02:48.773Z","dependency_job_id":null,"html_url":"https://github.com/terrierscript/react-auto-kana","commit_stats":null,"previous_names":["suisho/react-auto-kana"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Freact-auto-kana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Freact-auto-kana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Freact-auto-kana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Freact-auto-kana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrierscript","download_url":"https://codeload.github.com/terrierscript/react-auto-kana/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238945642,"owners_count":19556701,"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-02-15T04:39:51.961Z","updated_at":"2025-10-30T08:31:26.355Z","avatar_url":"https://github.com/terrierscript.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Auto Kana\n[![Circle CI](https://circleci.com/gh/suisho/react-auto-kana.svg?style=svg)](https://circleci.com/gh/suisho/react-auto-kana)\n\n\u003e Japanese React Kana Input Component\n\n## Demo\n[Live Demo](http://suisho.github.io/react-auto-kana/)\n\n## Installation\n```\nnpm install -S react-auto-kana\n```\n## Usage Example\n\n```js\nvar React = require(\"react\")\nvar AutoKana = require(\"react-auto-kana\")\n\nvar Example = React.createClass({\n  getInitialState(){\n    return {\n      kana : \"\"\n    }\n  },\n  onUpdateKana(data){\n    this.setState({\n      kana : data.kana\n    })\n    //this.props.onChange(this.state)\n  },\n  onChange(e){\n    this.setState({\n      kana : e.target.value\n    })\n  },\n  render(){\n    return (\n      \u003cdiv\u003e\n        \u003cdiv\u003e\n          \u003cAutoKana onUpdate={this.onUpdateKana} /\u003e\n          \u003cinput name=\"kana\" value={this.state.kana} onChange={this.onChange} /\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n    )\n  }\n})\nmodule.exports = Example\n```\n\n### props\n- `onUpdate`\n  - Callback after generated kana\n  - `data.kana` : Generated kana value\n\nIf you want get Katakana, you can use [japanese](http://npmjs.org/japanese) module.\n\n# Run demo localy\n\n```\nnpm run example\n```\n\n# Known Issue\nCore library is [here](http://github.com/suisho/historykana)\n\n- Invalid behavior when same Kanji is input.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Freact-auto-kana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrierscript%2Freact-auto-kana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Freact-auto-kana/lists"}