{"id":16791990,"url":"https://github.com/metonym/template-svelte-component","last_synced_at":"2026-04-13T17:08:01.159Z","repository":{"id":98413305,"uuid":"206302487","full_name":"metonym/template-svelte-component","owner":"metonym","description":"Template for building Svelte components","archived":false,"fork":false,"pushed_at":"2020-05-16T17:05:06.000Z","size":2914,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T20:46:08.740Z","etag":null,"topics":["component","library","rollup","svelte","typescript"],"latest_commit_sha":null,"homepage":"https://metonym.github.io/template-svelte-component/","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/metonym.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-09-04T11:23:15.000Z","updated_at":"2020-09-06T19:44:24.000Z","dependencies_parsed_at":"2023-04-14T11:45:59.335Z","dependency_job_id":null,"html_url":"https://github.com/metonym/template-svelte-component","commit_stats":null,"previous_names":[],"tags_count":8,"template":true,"template_full_name":null,"purl":"pkg:github/metonym/template-svelte-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-svelte-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-svelte-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-svelte-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-svelte-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metonym","download_url":"https://codeload.github.com/metonym/template-svelte-component/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Ftemplate-svelte-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001984,"owners_count":26083259,"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-10-09T02:00:07.460Z","response_time":59,"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":["component","library","rollup","svelte","typescript"],"created_at":"2024-10-13T08:43:46.694Z","updated_at":"2025-10-09T20:46:08.989Z","avatar_url":"https://github.com/metonym.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# template-svelte-component\n\n\u003c!--\n[![NPM][npm]][npm-url]\n[![Build][build]][build-badge]\n--\u003e\n\n\u003e Template for building Svelte components.\n\nThis is a minimal template for building and documenting Svelte components.\n\n- **Rollup** is used to build the component for ES/UMD formats.\n- **Sapper** is used for component development and documentation (demo deployed using GitHub Pages). See the [demo](demo) folder.\n\n## Install\n\n```bash\nyarn add -D template-svelte-component\n```\n\n## Usage\n\n```html\n\u003cscript\u003e\n  import Component from \"template-svelte-component\";\n\u003c/script\u003e\n\n\u003cComponent /\u003e\n```\n\n## API\n\n| Property name | Value                                    |\n| :------------ | :--------------------------------------- |\n| class         | `string` (default: 'default-class-name') |\n\n## Forwarded events\n\n- on:click\n- on:mouseover\n- on:mouseenter\n- on:mouseout\n- on:focus\n- on:blur\n- on:keydown\n\n## [Changelog](CHANGELOG.md)\n\n## License\n\n[MIT](LICENSE)\n\n[npm]: https://img.shields.io/npm/v/template-svelte-component.svg?color=blue\n[npm-url]: https://npmjs.com/package/template-svelte-component\n[build]: https://travis-ci.com/metonym/template-svelte-component.svg?branch=master\n[build-badge]: https://travis-ci.com/metonym/template-svelte-component\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Ftemplate-svelte-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetonym%2Ftemplate-svelte-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Ftemplate-svelte-component/lists"}