{"id":18735708,"url":"https://github.com/rdmurphy/custom-element-template","last_synced_at":"2025-04-12T19:21:05.520Z","repository":{"id":45825911,"uuid":"514765993","full_name":"rdmurphy/custom-element-template","owner":"rdmurphy","description":"An opinionated template for creating a custom element.","archived":false,"fork":false,"pushed_at":"2023-01-12T06:25:49.000Z","size":107,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T13:38:19.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rdmurphy.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-07-17T06:34:22.000Z","updated_at":"2023-06-14T00:16:56.000Z","dependencies_parsed_at":"2023-02-09T10:32:06.916Z","dependency_job_id":null,"html_url":"https://github.com/rdmurphy/custom-element-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmurphy%2Fcustom-element-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmurphy%2Fcustom-element-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmurphy%2Fcustom-element-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmurphy%2Fcustom-element-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdmurphy","download_url":"https://codeload.github.com/rdmurphy/custom-element-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618628,"owners_count":21134273,"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-07T15:17:48.401Z","updated_at":"2025-04-12T19:21:05.492Z","avatar_url":"https://github.com/rdmurphy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `\u003ccustom-element\u003e` element\n\nAn opinionated template for creating a custom element.\n\n## Installation\n\nYou can install `\u003ccustom-element\u003e` with npm, Yarn or pnpm.\n\n```js\nnpm install custom-element-element\n# or\nyarn add custom-element-element\n# or\npnpm install custom-element-element\n```\n\n## Usage\n\nImport the custom element in your JavaScript bundle:\n\n```js\nimport 'custom-element-element';\n```\n\nThen use the custom element in your HTML:\n\n```html\n\u003ccustom-element\u003e\u003c/custom-element\u003e\n```\n\n## Development\n\nThis project uses [Vite](https://vitejs.dev/), a build tool that \"aims to provide a faster and leaner development experience for modern web projects.\" The tests are ran using the [Playwright Test](https://playwright.dev/) test runner, which makes it easy to test custom elements in multiple browsers.\n\nTo set up your development environment, run the following command to install dependencies:\n\n```sh\nnpm install\n```\n\nRun the following command to view your changes live in the browser:\n\n```sh\nnpm start\n```\n\nWhen you want to run the tests, run:\n\n```sh\nnpm test\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdmurphy%2Fcustom-element-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdmurphy%2Fcustom-element-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdmurphy%2Fcustom-element-template/lists"}