{"id":21681668,"url":"https://github.com/restspace/svelte-script-lib-template","last_synced_at":"2026-04-07T21:31:05.430Z","repository":{"id":143784934,"uuid":"532055476","full_name":"restspace/svelte-script-lib-template","owner":"restspace","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-02T19:32:36.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T18:55:43.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/restspace.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-02T19:32:24.000Z","updated_at":"2022-09-02T19:32:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a0eee9b-001f-4e12-a9c2-d716b47100cf","html_url":"https://github.com/restspace/svelte-script-lib-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/restspace/svelte-script-lib-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restspace%2Fsvelte-script-lib-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restspace%2Fsvelte-script-lib-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restspace%2Fsvelte-script-lib-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restspace%2Fsvelte-script-lib-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/restspace","download_url":"https://codeload.github.com/restspace/svelte-script-lib-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restspace%2Fsvelte-script-lib-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31530640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-25T15:30:27.602Z","updated_at":"2026-04-07T21:31:05.406Z","avatar_url":"https://github.com/restspace.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte + TS + Vite \u003e class library\n\nThis is a variation of the standard npm install vite TS/Svelte library. Its build output is a js file which can be loaded as a script on a webpage and then used in code on the page as a class e.g.\n\n    \u003cbody\u003e\n      \u003cdiv id=\"container\"\u003e\u003c/div\u003e\n      \u003cscript type=\"module\"\u003e\n        import { SvelteComponent } from \"https://myfiles.com/path/to/svelteComponent.js\";\n\n        const x = new SvelteComponent({\n          target: document.getElementById(\"container\"),\n          props: {\n            prop1: prop1val\n          }\n        });\n      \u003c/script\u003e\n    \u003c/body\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frestspace%2Fsvelte-script-lib-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frestspace%2Fsvelte-script-lib-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frestspace%2Fsvelte-script-lib-template/lists"}