{"id":28381321,"url":"https://github.com/Lete114/SvelteJS-Show","last_synced_at":"2025-06-25T02:31:42.211Z","repository":{"id":65144254,"uuid":"583571197","full_name":"Lete114/SvelteJS-Show","owner":"Lete114","description":"Just like the v-show in vuejs","archived":false,"fork":false,"pushed_at":"2022-12-30T08:08:26.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T04:16:07.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://svelte.dev/repl/ae7c48fefd2a42f38a603be31324e142?version=3.55.0","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/Lete114.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-12-30T07:19:29.000Z","updated_at":"2022-12-30T08:00:31.000Z","dependencies_parsed_at":"2023-01-03T22:41:56.617Z","dependency_job_id":null,"html_url":"https://github.com/Lete114/SvelteJS-Show","commit_stats":null,"previous_names":["lete114/sveltejs-showz"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Lete114/SvelteJS-Show","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2FSvelteJS-Show","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2FSvelteJS-Show/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2FSvelteJS-Show/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2FSvelteJS-Show/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lete114","download_url":"https://codeload.github.com/Lete114/SvelteJS-Show/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2FSvelteJS-Show/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260142802,"owners_count":22965191,"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":"2025-05-30T04:04:45.872Z","updated_at":"2025-06-25T02:31:42.190Z","avatar_url":"https://github.com/Lete114.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## SvelteJS-Show\n\n`SvelteJS-Show` is the equivalent of `v-show` in `VueJS` will hide the element without adding any div block or destroying the component.\n\n## Installation\n\n```bash\nnpm install sveltejs-show\n```\n\n## Usage\n\n```svelte\n\u003cscript\u003e\n  import show from 'sveltejs-show'\n  let isShow = false\n\u003c/script\u003e\n\n\u003cbutton on:click={()=\u003e{isShow=!isShow}}\u003e{isShow}\u003c/button\u003e\n\u003ch1 use:show={isShow}\u003eHello world!\u003c/h1\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLete114%2FSvelteJS-Show","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLete114%2FSvelteJS-Show","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLete114%2FSvelteJS-Show/lists"}