{"id":16190925,"url":"https://github.com/maxmellon/react-tiny-linkify","last_synced_at":"2026-02-08T02:32:09.621Z","repository":{"id":45011529,"uuid":"382302105","full_name":"MaxMEllon/react-tiny-linkify","owner":"MaxMEllon","description":"A library convert to anchor tag from text children as react component. (\u003c 1KB)","archived":false,"fork":false,"pushed_at":"2023-10-18T01:36:27.000Z","size":173,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-15T04:32:51.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/MaxMEllon.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-02T09:50:49.000Z","updated_at":"2023-10-18T07:08:57.000Z","dependencies_parsed_at":"2024-11-06T02:15:48.462Z","dependency_job_id":null,"html_url":"https://github.com/MaxMEllon/react-tiny-linkify","commit_stats":null,"previous_names":["maxmellon/react-linkfy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxMEllon%2Freact-tiny-linkify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxMEllon%2Freact-tiny-linkify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxMEllon%2Freact-tiny-linkify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxMEllon%2Freact-tiny-linkify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxMEllon","download_url":"https://codeload.github.com/MaxMEllon/react-tiny-linkify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131468,"owners_count":21052819,"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":"2024-10-10T07:44:30.486Z","updated_at":"2026-02-08T02:32:09.588Z","avatar_url":"https://github.com/MaxMEllon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-tiny-linkify\n\n\u003e A library convert to anchor tag from text children as react component.\n\n- very tiny\n- simple usage\n- so simple\n\n- - -\n\n## Instillation\n\n```\n$ npm i react-tiny-linkify\n```\n\n## Usage\n\n```jsx\nimport React from 'react'\nimport linkify from 'react-tiny-linkify'\n\nconst Example: React.FC\u003c{ children: string }\u003e = ({ children }) =\u003e (\n  \u003cp\u003e{linkify(children)}\u003c/p\u003e\n)\n\nconst element = (\n  \u003cExample\u003e\n    example: https://example.com\n  \u003c/Example\u003e\n)\n\n/*\n * got: ReactElement\n *   \u003cp\u003e\n *     example: \u003ca href=\"https://example.com\"\u003ehttps://example.com\u003c/a\u003e\n *   \u003c/p\u003e\n */\n```\n\n- with memo\n\n```jsx\nconst Example: React.FC\u003c{ content: string }\u003e = ({ content }) =\u003e {\n  const linked = useMemo(() =\u003e linkify(content), [content])\n  return (\n    \u003cp\u003e{linked}\u003c/p\u003e\n  )\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmellon%2Freact-tiny-linkify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxmellon%2Freact-tiny-linkify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmellon%2Freact-tiny-linkify/lists"}