{"id":41068281,"url":"https://github.com/mcamac/react-text-annotate","last_synced_at":"2026-01-22T12:57:57.919Z","repository":{"id":31671032,"uuid":"128572611","full_name":"mcamac/react-text-annotate","owner":"mcamac","description":"React components for interactively highlighting parts of text.","archived":false,"fork":false,"pushed_at":"2023-01-04T01:56:37.000Z","size":4218,"stargazers_count":137,"open_issues_count":29,"forks_count":54,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-12-07T04:14:10.053Z","etag":null,"topics":["react"],"latest_commit_sha":null,"homepage":"https://mcamac.github.io/react-text-annotate","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/mcamac.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":"2018-04-07T22:06:52.000Z","updated_at":"2025-12-06T02:28:08.000Z","dependencies_parsed_at":"2023-01-14T19:45:26.145Z","dependency_job_id":null,"html_url":"https://github.com/mcamac/react-text-annotate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mcamac/react-text-annotate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcamac%2Freact-text-annotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcamac%2Freact-text-annotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcamac%2Freact-text-annotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcamac%2Freact-text-annotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcamac","download_url":"https://codeload.github.com/mcamac/react-text-annotate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcamac%2Freact-text-annotate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28663770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"],"created_at":"2026-01-22T12:57:52.779Z","updated_at":"2026-01-22T12:57:57.914Z","avatar_url":"https://github.com/mcamac.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-text-annotate\n[![NPM](https://img.shields.io/npm/v/react-text-annotate)](https://www.npmjs.com/package/react-text-annotate)\n\nA React component for interactively highlighting parts of text.\n\n## Usage\n\nReact `16.8.0` or higher is required as a peer dependency of this package.\n\n```\nnpm install --save react-text-annotate\n```\n\n[Docs](https://mcamac.github.io/react-text-annotate/)\n\n## Examples\n\nA simple controlled annotation.\n\n```tsx\nimport {TokenAnnotator, TextAnnotator} from 'react-text-annotate'\n\n\u003cTokenAnnotator\n  tokens={['My', 'text', 'needs', 'annotating', 'for', 'NLP', 'training']}\n  value={[{start: 5, end: 6, tag: 'TOPIC', color: '#EEE'}]}\n/\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcamac%2Freact-text-annotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcamac%2Freact-text-annotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcamac%2Freact-text-annotate/lists"}