{"id":25654123,"url":"https://github.com/zakarialaoui10/van-wrapper","last_synced_at":"2025-04-16T14:53:16.302Z","repository":{"id":269302305,"uuid":"906999211","full_name":"zakarialaoui10/van-wrapper","owner":"zakarialaoui10","description":"Van-Wrapper is a tool that makes it easy to render VanJS elements within other popular frameworks.","archived":false,"fork":false,"pushed_at":"2025-03-07T21:02:04.000Z","size":116,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T05:24:03.048Z","etag":null,"topics":["vanjs","wrapper","zikojs"],"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/zakarialaoui10.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-22T14:33:15.000Z","updated_at":"2025-03-23T10:38:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcef755b-7474-42d6-bf05-43ea0f5519b9","html_url":"https://github.com/zakarialaoui10/van-wrapper","commit_stats":null,"previous_names":["zakarialaoui10/van-wrapper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarialaoui10%2Fvan-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarialaoui10%2Fvan-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarialaoui10%2Fvan-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarialaoui10%2Fvan-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zakarialaoui10","download_url":"https://codeload.github.com/zakarialaoui10/van-wrapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249252456,"owners_count":21238190,"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":["vanjs","wrapper","zikojs"],"created_at":"2025-02-23T20:17:41.130Z","updated_at":"2025-04-16T14:53:16.296Z","avatar_url":"https://github.com/zakarialaoui10.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- doc --\u003e\n# Van-wrapper \nVan-Wrapper is a tool that facilitates the rendering of VanJS elements within other popular frameworks.\n\n\n## Integrate Vanjs inside Other Environment\n\n### VanJS Component Decalaration\n```js\n// HelloFromVan.js\nimport { VanWrapper } from \"van-wrapper/vue\";\nconst {a, p, div} = van.tags\nconst HelloFromVan = ({environement}) =\u003e div(\n  p(message, a({href: \"https://vanjs.org/\"}, \"VanJS\")),\n  p(\n    \"This is a \",\n    a({href: \"https://vanjs.org/\"}, \"VanJS \"),\n    `Element Wrapped inside ${environement} App`\n  )\n)\nexport default HelloFromVan\n```\n\n### Use \n#### JSX Based\n\n```jsx\nimport VanWrapper from \"van-wrapper/react\"\n// import VanWrapper from \"van-wrapper/solid\"\n// import VanWrapper from \"van-wrapper/preact\"\nimport HelloFromVan from \"./HelloFromVan.js\"\nconst environement = \"React\" // It's only a message \nexport default function App(){\n    return (\n        \u003cVanWrapper\u003e\n           \u003cHelloFromVan \n              environement={environement} \n            /\u003e\n        \u003c/VanWrapper\u003e\n    )\n }\n```\n\n#### Vue\n```xml\n\u003cscript\u003e\nimport VanWrapper from \"van-wrapper/vue\"\nimport HelloFromVan from \"./HelloFromVan.js\"\n\u003c/script\u003e\n\u003ctemplate\u003e\n    \u003cVanWrapper\u003e\n           \u003cHelloFromVan \n              environement=\"Vue\"  \n            /\u003e\n    \u003c/VanWrapper\u003e\n\u003c/template\u003e\n``` \n#### Svelte \n```jsx\n---\nimport VanWrapper from \"van-wrapper/svelte\";\nimport HelloFromVan from \"./HelloFromVan.js\"\n---\n\u003cVanWrapper ui={HelloFromVan({environement:\"Svelte\"})}/\u003e\n```\n\n# License \nThis projet is licensed under the terms of MIT License \n\u003cimg src=\"https://img.shields.io/github/license/zakarialaoui10/van-wrapper?color=rgb%2820%2C21%2C169%29\" width=\"100\" align=\"right\"\u003e\n\n\n\n\n\n\u003c!-- add starter --\u003e  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakarialaoui10%2Fvan-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzakarialaoui10%2Fvan-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakarialaoui10%2Fvan-wrapper/lists"}