{"id":21076090,"url":"https://github.com/shaack/linkable-js","last_synced_at":"2025-03-14T03:43:07.908Z","repository":{"id":57141206,"uuid":"199480008","full_name":"shaack/linkable-js","owner":"shaack","description":"Make every HTML-Element linkable by just adding the class `linkable` and a `data-href` attribute","archived":false,"fork":false,"pushed_at":"2020-03-18T10:07:38.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T10:51:57.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/shaack.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":"2019-07-29T15:33:19.000Z","updated_at":"2020-03-18T10:07:40.000Z","dependencies_parsed_at":"2022-09-05T01:21:09.492Z","dependency_job_id":null,"html_url":"https://github.com/shaack/linkable-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaack%2Flinkable-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaack%2Flinkable-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaack%2Flinkable-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaack%2Flinkable-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaack","download_url":"https://codeload.github.com/shaack/linkable-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243521215,"owners_count":20304183,"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-11-19T19:26:35.616Z","updated_at":"2025-03-14T03:43:07.881Z","avatar_url":"https://github.com/shaack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linkable-js\n\nMake every HTML Element a link by setting its class to `linkable`.\n\n## Example\n\n```html\n\u003cdiv class=\"linkable\" data-href=\"https://shaack.com\"\u003e\n    This will link to shaack.com\n\u003c/div\u003e\n\u003cscript src=\"src/linkable.js\"\u003e\u003c/script\u003e\n```\nThe div ist now clickable, has `cursor=\"pointer\"` and links to\nshaack.com.\n\n## install\n\n\nUse npm:\n```\nnpm install -save linkable-js\n```\n\nOr just download this repository.\n\n## use\n\nJust include the script `linkable.js`.\n```html\n\u003cscript src=\"/node_modules/linkable-js/src/linkable.js\"\u003e\u003c/script\u003e\n```\nNow all elements with `class=\"linkable\"` are links to their\n`data-href` attribute. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaack%2Flinkable-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaack%2Flinkable-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaack%2Flinkable-js/lists"}