{"id":19891420,"url":"https://github.com/mohamed-kaizen/svelteaction-docs","last_synced_at":"2026-04-18T11:05:39.764Z","repository":{"id":61801556,"uuid":"555331660","full_name":"Mohamed-Kaizen/svelteaction-docs","owner":"Mohamed-Kaizen","description":"The docs for sveltecore, svelteshared, and svelteintegrations","archived":false,"fork":false,"pushed_at":"2022-12-27T17:34:46.000Z","size":600,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T22:33:21.930Z","etag":null,"topics":["svelte","svelte-action","sveltejs","sveltekit","utilities","utility"],"latest_commit_sha":null,"homepage":"https://svelteaction.netlify.app/","language":"Python","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/Mohamed-Kaizen.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}},"created_at":"2022-10-21T11:22:46.000Z","updated_at":"2022-12-12T05:02:27.000Z","dependencies_parsed_at":"2023-01-31T04:46:03.456Z","dependency_job_id":null,"html_url":"https://github.com/Mohamed-Kaizen/svelteaction-docs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mohamed-Kaizen/svelteaction-docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-Kaizen%2Fsvelteaction-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-Kaizen%2Fsvelteaction-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-Kaizen%2Fsvelteaction-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-Kaizen%2Fsvelteaction-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mohamed-Kaizen","download_url":"https://codeload.github.com/Mohamed-Kaizen/svelteaction-docs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-Kaizen%2Fsvelteaction-docs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31966218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["svelte","svelte-action","sveltejs","sveltekit","utilities","utility"],"created_at":"2024-11-12T18:18:13.184Z","updated_at":"2026-04-18T11:05:39.737Z","avatar_url":"https://github.com/Mohamed-Kaizen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte Action\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://fastapi.tiangolo.com\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/Mohamed-Kaizen/svelteaction-docs/main/docs/static/svelteaction2.png\" alt=\"FastAPI\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\" class=\"text-xl\"\u003e\n    \u003cem class=\"text-2xl\"\u003eWrite less, Do more\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/sveltecore\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/sveltecore?color=50a36f\u0026label=sveltecore\"\u003e\n\u003c/a\u003e\n\n\n\u003ca href=\"https://www.npmjs.com/package/svelteshareds\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/svelteshareds?color=50a36f\u0026label=svelteshareds\"\u003e\n\u003c/a\u003e\n\n\n\u003ca href=\"https://www.npmjs.com/package/svelteintegrations\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/svelteintegrations?color=50a36f\u0026label=svelteintegrations\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://github.com/Mohamed-Kaizen/svelteaction-docs\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=functions\u0026message=112\u0026color=50a36f\"\u003e\n\u003c/a\u003e\n\n\u003c/p\u003e\n\n---\n**Svelte Action** is a collection of utility functions, which help you build powerful app.\n\nThe key features are:\n\n* **Type Strong 💪**: Written in TypeScript, with full TS docs.\n* **Fast to code 🚀**: Increase the speed to develop features by about 200% to 300%.\n* **Fewer bugs 🐞**: Reduce about 40% of human (developer) induced errors.\n* **SSR Friendly 🕺**: Works perfectly with server-side.\n* **Easy 💫**: Designed to be easy to use and learn. Less time reading docs.\n* **Interactive demos 🎉** : Documentation of functions also come with interactive demos!.\n* **Feature Rich  🌈**: 100+ functions for you to choose from.\n* **Fully 🌳 shakeable**: Only take what you want.\n* **⚙️ Flexible**:  Fully customizable, configurable event filters and targets.\n\n## Installation\n\n\n### Core\n\n```bash\npnpm add -D sveltecore\n```\n\n\n\n### Shared\n\n```bash\npnpm add -D svelteshareds\n```\n\n\n\n### Integrations\n\n```bash\npnpm add -D svelteintegrations\n```\n\n\n## 🧪 Example\n\n### Core\n\n``` html\n\u003cscript\u003e\nimport {permission} from \"sveltecore\"\n\nconst { state, is_supported } = permission(\"geolocation\", {controls: true})\n\n\u003c/script\u003e\n\n\u003ch1\u003eIs supported is: {$is_supported}\u003c/h1\u003e\n\u003ch1\u003estate is: {$state}\u003c/h1\u003e\n```\n\n### Shared\n\n``` html\n\u003cscript\u003e\nimport {toggleable} from \"svelteshareds\"\n\nconst [value, toggle] = toggleable()\n\n\u003c/script\u003e\n\n\u003ch1\u003evalue is: {$value}\u003c/h1\u003e\n\n\u003cbutton on:click=\"{() =\u003e toggle()}\"\u003eToggle\u003c/button\u003e\n```\n\n### Integrations\n\n``` html\n\u003cscript\u003e\nimport {jwt} from \"svelteintegrations/jwt\"\n\nconst token = \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c\"\n\nconst { header, payload } = jwt(token)\n\n\u003c/script\u003e\n\n\u003ch1\u003eHeader:\u003c/h1\u003e\n\u003ch2\u003e{JSON.stringify(header)}\u003c/h2\u003e\n\n\u003chr/\u003e\n\n\u003ch1\u003ePayload:\u003c/h1\u003e\n\u003ch2\u003e{JSON.stringify(payload)}\u003c/h2\u003e\n```\n\n## 🙏 Thanks\n\nThis project is heavily inspired by the following awesome projects.\n\n- [vueuse/vueuse](https://github.com/vueuse/vueuse/)\n- [rayepps/radash](https://github.com/rayepps/radash)\n\n## 📜 License\n\n[MIT License](#License) © 2022-PRESENT [Mohamed Nesredin](https://github.com/mohamed-kaizen)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamed-kaizen%2Fsvelteaction-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohamed-kaizen%2Fsvelteaction-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamed-kaizen%2Fsvelteaction-docs/lists"}