{"id":28075422,"url":"https://github.com/tau-engineering/linkify-gh-usernames","last_synced_at":"2025-05-13T00:57:09.137Z","repository":{"id":143886303,"uuid":"142148060","full_name":"tau-engineering/linkify-gh-usernames","owner":"tau-engineering","description":"Linkify GitHub usernames","archived":false,"fork":false,"pushed_at":"2024-12-19T21:54:38.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T00:57:02.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npm.im/linkify-gh-usernames","language":"JavaScript","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/tau-engineering.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-24T11:19:24.000Z","updated_at":"2024-12-19T21:54:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"d54e281f-ddb0-4046-9375-1b011cdebc46","html_url":"https://github.com/tau-engineering/linkify-gh-usernames","commit_stats":null,"previous_names":["yeskunall/linkify-gh-usernames"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tau-engineering%2Flinkify-gh-usernames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tau-engineering%2Flinkify-gh-usernames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tau-engineering%2Flinkify-gh-usernames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tau-engineering%2Flinkify-gh-usernames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tau-engineering","download_url":"https://codeload.github.com/tau-engineering/linkify-gh-usernames/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850883,"owners_count":21973672,"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-05-13T00:57:08.561Z","updated_at":"2025-05-13T00:57:09.119Z","avatar_url":"https://github.com/tau-engineering.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linkify-gh-usernames\n\n\u003e Linkify GitHub usernames\n\n## Install\n\n\u003e [!NOTE]\n\u003e This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).\n\n```\nnpm install linkify-gh-usernames\n```\n\n## Usage\n\n```js\nimport linkifyUsernames from \"linkify-gh-usernames\";\n\nlinkifyUsernames(\n  \"Hi @yeskunall and welcome to the @21kb org! Feel free to look around!\",\n  {\n    attributes: {\n      class: \"github\",\n      target: \"_blank\",\n    },\n  },\n);\n//=\u003e 'Hi \u003ca href=\"https://github.com/yeskunall\" class=\"github\" target=\"_blank\"\u003e@yeskunall\u003c/a\u003e and welcome to the \u003ca href=\"https://github.com/21kb\" class=\"github\" target=\"_blank\"\u003e@21kb\u003c/a\u003e org! Feel free to look around!\n```\n\n## API\n\n### linkifyUsernames(input, [options])\n\n#### input\n\nType: `string`\n\nText containing valid GitHub username.\n\n#### options\n\nType: `Object`\n\n##### attributes\n\nType: `Object`\n\nHTML attributes to add to the link.\n\n##### value\n\nType: `string`\u003cbr\u003e Default: The URL\n\nSet a custom HTML value for the link.\n\n## Related\n\n- [linkify-issues](https://github.com/sindresorhus/linkify-issues) - Linkify\n  GitHub issue references\n- [linkify-urls](https://github.com/sindresorhus/linkify-urls) - Linkify URLs in\n  text\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftau-engineering%2Flinkify-gh-usernames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftau-engineering%2Flinkify-gh-usernames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftau-engineering%2Flinkify-gh-usernames/lists"}