{"id":16595416,"url":"https://github.com/vasucp1207/sveltronics","last_synced_at":"2025-04-07T13:08:24.245Z","repository":{"id":154974944,"uuid":"613705144","full_name":"vasucp1207/sveltronics","owner":"vasucp1207","description":"Svelte utility functions for your project","archived":false,"fork":false,"pushed_at":"2024-12-20T14:41:32.000Z","size":1242,"stargazers_count":87,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T12:04:55.673Z","etag":null,"topics":["svelte","sveltekit","typescript"],"latest_commit_sha":null,"homepage":"https://sveltronics.netlify.app/","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/vasucp1207.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-03-14T05:20:46.000Z","updated_at":"2025-01-22T09:48:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2f96fe6-d950-4700-af8c-0e0a7b9c265b","html_url":"https://github.com/vasucp1207/sveltronics","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/vasucp1207%2Fsveltronics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasucp1207%2Fsveltronics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasucp1207%2Fsveltronics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasucp1207%2Fsveltronics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vasucp1207","download_url":"https://codeload.github.com/vasucp1207/sveltronics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657281,"owners_count":20974345,"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":["svelte","sveltekit","typescript"],"created_at":"2024-10-11T23:50:11.912Z","updated_at":"2025-04-07T13:08:24.222Z","avatar_url":"https://github.com/vasucp1207.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"1000\" alt=\"lib-icon\" src=\"https://user-images.githubusercontent.com/85363195/231576778-4db4f8fc-6fe3-4234-869a-6898f5f4cacf.png\"\u003e\n\n\u003ch1 align=\"center\"\u003eSveltronics\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003eSvelte utility functions for your project\u003c/h2\u003e\n\n# 📦Installation\n\n```\nnpm i sveltronics\n```\n\n# 🐰Usage\n\n```svelte\n\u003cscript\u003e\n  import { resizeable, elementSize } from \"sveltronics\";\n  import { onMount } from \"svelte\";\n\n  let myEle;\n  let { height, width } = {};\n  onMount(() =\u003e {\n    ({ height, width } = elementSize(myEle));\n  })\n\n\u003c/script\u003e\n\n\u003cdiv \n  bind:this={myEle}\n  use:resizeable\n\u003e\n  Resizeable\n\u003c/div\u003e\n\n\u003cdiv\u003eHeight: {$height}\u003c/div\u003e\n\u003cdiv\u003eWidth: {$width}\u003c/div\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasucp1207%2Fsveltronics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvasucp1207%2Fsveltronics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasucp1207%2Fsveltronics/lists"}