{"id":16594859,"url":"https://github.com/symind/import-svelte","last_synced_at":"2026-03-10T17:33:16.985Z","repository":{"id":65345849,"uuid":"590414042","full_name":"SyMind/import-svelte","owner":"SyMind","description":"Require and transpile Svelte on the fly","archived":false,"fork":false,"pushed_at":"2023-01-23T11:20:22.000Z","size":144,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T08:36:44.469Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SyMind.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":"2023-01-18T11:08:39.000Z","updated_at":"2024-05-11T12:25:06.000Z","dependencies_parsed_at":"2023-02-12T22:46:22.003Z","dependency_job_id":null,"html_url":"https://github.com/SyMind/import-svelte","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SyMind/import-svelte","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Fimport-svelte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Fimport-svelte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Fimport-svelte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Fimport-svelte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyMind","download_url":"https://codeload.github.com/SyMind/import-svelte/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Fimport-svelte/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699926,"owners_count":25152330,"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-09-05T02:00:09.113Z","response_time":402,"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":[],"created_at":"2024-10-11T23:47:45.195Z","updated_at":"2026-03-10T17:33:16.928Z","avatar_url":"https://github.com/SyMind.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eImport Svelte\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eRequire and transpile Svelte on the fly.\u003c/p\u003e\n\n# Install\n\n```bash\nnpm install import-svelte\n```\n\n# Usage\n\n```js\nconst importSvelte = require('import-svelte');\n\nconst modulePath = path.resolve(__dirname, './App.svelte')\nconst App = importSvelte(modulePath)\nconst inst = new App({\n    target: document.body // use domjs\n})\n```\n\n# License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymind%2Fimport-svelte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymind%2Fimport-svelte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymind%2Fimport-svelte/lists"}