{"id":19520968,"url":"https://github.com/rodneylab/svelte-each","last_synced_at":"2025-03-23T10:17:31.356Z","repository":{"id":52275888,"uuid":"474164107","full_name":"rodneylab/svelte-each","owner":"rodneylab","description":"Using Svelte each blocks: how to loop on array-like objects in Svelte + simplify your code using const \u0026 style directives and destructuring.","archived":false,"fork":false,"pushed_at":"2025-02-21T08:32:57.000Z","size":473,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-21T09:33:36.220Z","etag":null,"topics":["demo","each","svelte","sveltekit"],"latest_commit_sha":null,"homepage":"","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodneylab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-25T21:08:06.000Z","updated_at":"2025-02-21T08:32:27.000Z","dependencies_parsed_at":"2023-02-16T04:46:10.813Z","dependency_job_id":"b505aa25-8ecd-4da4-80ff-2f99b4ea4a93","html_url":"https://github.com/rodneylab/svelte-each","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fsvelte-each","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fsvelte-each/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fsvelte-each/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fsvelte-each/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodneylab","download_url":"https://codeload.github.com/rodneylab/svelte-each/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245084608,"owners_count":20558251,"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":["demo","each","svelte","sveltekit"],"created_at":"2024-11-11T00:28:35.522Z","updated_at":"2025-03-23T10:17:31.327Z","avatar_url":"https://github.com/rodneylab.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./images/rodneylab-github-svelte-each.png\" alt=\"Rodney Lab sveltekit-iconify Github banner\"\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca aria-label=\"Open Rodney Lab site\" href=\"https://rodneylab.com\" rel=\"nofollow noopener noreferrer\"\u003e\n    \u003cimg alt=\"Rodney Lab logo\" src=\"https://rodneylab.com/assets/icon.png\" width=\"60\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e\n  Svelte #each\n\u003c/h1\u003e\n\n# svelte-each\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/rodneylab/svelte-each)\n\nDemo code: colour palette app which helps explain Svelte each blocks as well as const directives, destructuring within each blocks and style directives. The code accompanies the \u003ca aria-label=\"Open Rodney Lab video post on Svelte Each blocks\" href=\"https://rodneylab.com/using-svelte-each-blocks/\"\u003evideo post on using each blocks in Svelte\u003c/a\u003e. If you have any questions, please drop a comment at the bottom of that page.\n\n## Building and previewing the site\n\nIf you're seeing this, you've probably already done this step. Congrats!\n\n```bash\ngit clone https://github.com/rodneylab/svelte-each.git\ncd svelte-each\npnpm install # or npm install\npnpm run dev\n```\n\n## Building\n\n```bash\npnpm run build\n```\n\n\u003e You can preview the built app with `pnpm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.\n\nFeel free to jump into the [Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodneylab%2Fsvelte-each","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodneylab%2Fsvelte-each","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodneylab%2Fsvelte-each/lists"}