{"id":21244412,"url":"https://github.com/unyt-org/uix-dom","last_synced_at":"2025-07-10T21:30:43.994Z","repository":{"id":198931433,"uuid":"698018246","full_name":"unyt-org/uix-dom","owner":"unyt-org","description":"DOM Implementation for UIX, running in the browser and in deno, supports DATEX bindings","archived":false,"fork":false,"pushed_at":"2025-05-26T21:08:36.000Z","size":189,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T18:03:54.202Z","etag":null,"topics":["dom","reactive-programming","server-side-rendering","uix","unyt"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/unyt-org.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["unyt-org"],"patreon":"unyt","custom":["https://unyt.org/donate"]}},"created_at":"2023-09-29T00:53:50.000Z","updated_at":"2025-05-26T21:08:39.000Z","dependencies_parsed_at":"2024-02-13T19:28:57.318Z","dependency_job_id":"774e4f0c-bbcc-4fb6-8f01-b79513cb6e00","html_url":"https://github.com/unyt-org/uix-dom","commit_stats":null,"previous_names":["unyt-org/uix-dom"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unyt-org/uix-dom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fuix-dom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fuix-dom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fuix-dom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fuix-dom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unyt-org","download_url":"https://codeload.github.com/unyt-org/uix-dom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fuix-dom/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264666021,"owners_count":23646570,"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":["dom","reactive-programming","server-side-rendering","uix","unyt"],"created_at":"2024-11-21T01:25:00.341Z","updated_at":"2025-07-10T21:30:43.695Z","avatar_url":"https://github.com/unyt-org.png","language":"TypeScript","funding_links":["https://github.com/sponsors/unyt-org","https://patreon.com/unyt","https://unyt.org/donate"],"categories":[],"sub_categories":[],"readme":"# UIX DOM\n\nThis library implements a standalone DOM subset based on [Deno DOM](https://github.com/b-fuze/deno-dom) that can be used in deno or in the browser.\n\nUIX DOM also supports DATEX bindings for DOM elements from the UIX DOM library, as well as for normal browser DOM elements.\n\n![Example 1](./res/image1.png)\n\n## Loading the DOM Context\n\nTo get started, import the context from \"mod.ts\":\n\n```ts\nimport * as context from \"../uix-dom/dom/mod.ts\";\n```\nThis context includes definitions for all Elements, as well as a `document` object.\nIt can be used interchangably with the `globalThis` object in the browser.\n\n## Enabling DATEX bindings\n\nBy enabling DATEX bindings for a `DOMContext` object,\nthe corresponding DATEX type definitions are mapped to the DOM context\nand reactivity is enabled.\n\n```ts\nimport { enableDatexBindings } from \"./datex-bindings/mod.ts\";\nconst domUtils = enableDatexBindings(context);\n```\n\n## Enabling JSX\n\n```ts\nimport { enableJSX } from \"./jsx/mod.ts\";\nconst {jsx, jsxs, Fragment} = enableJSX(domUtils, context);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funyt-org%2Fuix-dom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funyt-org%2Fuix-dom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funyt-org%2Fuix-dom/lists"}