{"id":15516591,"url":"https://github.com/git-ced/solid-links","last_synced_at":"2025-09-03T10:33:53.621Z","repository":{"id":57365874,"uuid":"460354710","full_name":"git-ced/solid-links","owner":"git-ced","description":"Transform URLs in strings to actual links.","archived":false,"fork":false,"pushed_at":"2022-02-17T22:25:03.000Z","size":1034,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T10:55:48.832Z","etag":null,"topics":["linkify","solidjs"],"latest_commit_sha":null,"homepage":"","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/git-ced.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":"2022-02-17T08:56:09.000Z","updated_at":"2024-07-11T05:49:58.000Z","dependencies_parsed_at":"2022-09-12T03:11:03.328Z","dependency_job_id":null,"html_url":"https://github.com/git-ced/solid-links","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/git-ced/solid-links","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-ced%2Fsolid-links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-ced%2Fsolid-links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-ced%2Fsolid-links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-ced%2Fsolid-links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/git-ced","download_url":"https://codeload.github.com/git-ced/solid-links/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-ced%2Fsolid-links/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273430599,"owners_count":25104481,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"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":["linkify","solidjs"],"created_at":"2024-10-02T10:08:46.852Z","updated_at":"2025-09-03T10:33:53.593Z","avatar_url":"https://github.com/git-ced.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e\n  \u003cimg \n    width=\"100%\" \n    src=\"./banner.png\" \n    alt=\"solid-links\"\n    style=\"border-radius: 0 0 50px 0;\"\n  \u003e\n\u003c/p\u003e\n\nTransform URLs in strings to actual links. It will find valid links in the given string and create `\u003ca\u003e` tags for it.\n\nInternally, it uses this **[Regex](https://regexr.com/6fkup)** to identify links.\n\n[![NPM](https://img.shields.io/npm/v/solid-links.svg)](https://www.npmjs.com/package/solid-links)\n![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/solid-links)\n![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/solid-links)\n![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/solid-links)\n![NPM](https://img.shields.io/npm/l/solid-links)\n\n## Table of Contents\n - [Installation](#installation)\n - [Setup](#setup)\n - [Usage](#usage)\n - [Authors](#authors)\n - [Changelog](#changelog)\n - [License](#license)\n\n \u003c!-- toc --\u003e\n## Installation\n\nThis library is available through the [npm registry](https://www.npmjs.com/).\n\nNPM\n```bash\n$ npm -i solid-links\n```\n\nYarn\n```bash\n$ yarn add solid-links\n```\n\n## Setup\n\nStart using it by importing the library first.\n\n### CommonJS\n```javascript\nconst Linkify = require('solid-links');\n```\n\nor \n\n### ES6\n```javascript\nimport Linkify from 'solid-links';\n```\n\n## Usage\n\n```javascript\nimport Linkify from 'solid-links';\n\nconst TEST_STRING = `\n  Will match the following cases\n\n      http://www.foufos.gr\n      https://www.foufos.gr\n      http://foufos.gr\n      http://www.foufos.gr/kino\n      http://werer.gr\n      www.foufos.gr\n      www.mp3.com\n      www.t.co\n      http://t.co\n      http://www.t.co\n      https://www.t.co\n      www.aa.com\n      http://aa.com\n      http://www.aa.com\n      https://www.aa.com\n\n  Will NOT match the following\n\n      www.foufos\n      www.foufos-.gr\n      www.-foufos.gr\n      foufos.gr\n      http://www.foufos\n      http://foufos\n      www.mp3#.com\n`;\n\nexport default function Sample() {\n  return (\n    \u003cLinkify\n      text={TEST_STRING}\n      style=\"text-decoration: underline; color: blue;\"\n    /\u003e\n  );\n}\n```\n\n## Authors\n\n- [Prince Neil Cedrick Castro](https://github.com/git-ced/) - Initial work\n\nSee also the list of [contributors](https://github.com/git-ced/solid-links/contributors) who participated in this project.\n\n## Changelog\n\n[Changelog](https://github.com/git-ced/solid-links/releases)\n\n## License\n\n  [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-ced%2Fsolid-links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgit-ced%2Fsolid-links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-ced%2Fsolid-links/lists"}