{"id":16374612,"url":"https://github.com/43081j/keyword-mark-element","last_synced_at":"2025-03-21T01:32:08.453Z","repository":{"id":40281072,"uuid":"200723658","full_name":"43081j/keyword-mark-element","owner":"43081j","description":"Simple web component to mark keywords in a string","archived":false,"fork":false,"pushed_at":"2023-01-27T04:13:44.000Z","size":644,"stargazers_count":8,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T18:01:53.661Z","etag":null,"topics":["highlight","js","mark","webcomponents"],"latest_commit_sha":null,"homepage":null,"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/43081j.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-08-05T20:24:28.000Z","updated_at":"2024-06-23T01:19:51.000Z","dependencies_parsed_at":"2023-02-15T05:00:59.705Z","dependency_job_id":null,"html_url":"https://github.com/43081j/keyword-mark-element","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/43081j%2Fkeyword-mark-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/43081j%2Fkeyword-mark-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/43081j%2Fkeyword-mark-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/43081j%2Fkeyword-mark-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/43081j","download_url":"https://codeload.github.com/43081j/keyword-mark-element/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244097192,"owners_count":20397562,"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":["highlight","js","mark","webcomponents"],"created_at":"2024-10-11T03:17:47.787Z","updated_at":"2025-03-21T01:32:08.174Z","avatar_url":"https://github.com/43081j.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `\u003ckeyword-mark\u003e`\n\nA simple web component to mark keywords in a string.\n\n[Demo](https://keyword-mark.glitch.me)\n\n## Usage\n\nInstall:\n\n```\n$ npm i -S keyword-mark-element\n```\n\nInclude:\n\n```html\n\u003cscript src=\"node_modules/keyword-mark-element/lib/keyword-mark.js\"\u003e\u003c/script\u003e\n```\n\nOr in JavaScript:\n\n```ts\nimport \"./node_modules/keyword-mark-element/lib/keyword-mark.js\";\n```\n\nUse:\n\n```html\n\u003ckeyword-mark keywords=\"foo\"\u003efoo bar baz\u003c/keyword-mark\u003e\n```\n\nEssentially, any keywords specified in the `keywords` attribute will be\nhighlighted in the text content of the element.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F43081j%2Fkeyword-mark-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F43081j%2Fkeyword-mark-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F43081j%2Fkeyword-mark-element/lists"}