{"id":19839529,"url":"https://github.com/xeaone/element","last_synced_at":"2025-12-12T03:44:25.194Z","repository":{"id":37354095,"uuid":"88584053","full_name":"xeaone/element","owner":"xeaone","description":"X-Element: Reactivity without the complexity.","archived":false,"fork":false,"pushed_at":"2025-03-17T23:07:06.000Z","size":6109,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-21T14:54:13.040Z","etag":null,"topics":["angular","application","arrow-js","browser","components","customelements","data-binding","esmodules","framework","front-end","library","lit-element","lit-html","polymer","router","routing","spa","vue","web-components","webcomponents"],"latest_commit_sha":null,"homepage":"https://xeaone.github.io/element/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xeaone.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":"docs/security.js","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-18T05:07:51.000Z","updated_at":"2025-03-21T03:41:05.000Z","dependencies_parsed_at":"2023-10-15T02:04:33.598Z","dependency_job_id":"87edc00d-bbb6-4abd-a532-7a3208213d12","html_url":"https://github.com/xeaone/element","commit_stats":{"total_commits":1864,"total_committers":3,"mean_commits":621.3333333333334,"dds":0.009120171673819732,"last_synced_commit":"2e86ce9f237da6745eabe64dc2e3fef448d3e0a8"},"previous_names":["vokeio/oxe","alexanderelias/jenie"],"tags_count":76,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeaone%2Felement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeaone%2Felement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeaone%2Felement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeaone%2Felement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xeaone","download_url":"https://codeload.github.com/xeaone/element/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251932514,"owners_count":21667157,"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":["angular","application","arrow-js","browser","components","customelements","data-binding","esmodules","framework","front-end","library","lit-element","lit-html","polymer","router","routing","spa","vue","web-components","webcomponents"],"created_at":"2024-11-12T12:23:00.921Z","updated_at":"2025-12-12T03:44:20.163Z","avatar_url":"https://github.com/xeaone.png","language":"TypeScript","readme":"\u003c!-- ![check workflow](https://github.com/xeaone/element/actions/workflows/check.yml/badge.svg) --\u003e\n\n# X-Element\n\n### Reactivity without the complexity.\n\n## Vision\nProvide a knowledge transferable future proof, reactive data binding, library for building web interfaces.\n\n## Features\n- \u0026#128118; **Simple** If you know HTML, JS, and Template Literals then you know XElement.\n\n- \u0026#9981; **Agnostic** Use XElement with any framework or library - Lit, Vue, React, Angular..\n\n- \u0026#9883; **Reactive** Performant and efficient two way reactive data binding.\n\n- \u0026#9889; **Fast** Rendering is blazing fast, because XElement only interacts with the dynamic DOM Nodes..\n\n\n\u003c!-- - \u0026#129517; **Router** Client side routing using the new [Navigation API](https://developer.chrome.com/docs/web-platform/navigation-api/) --\u003e\n\n## Learn\n[https://xeaone.github.io/element/](https://xeaone.github.io/element/)\n\n## Examples\n\n```js\nimport { html } from 'https://esm.sh/@xeaone/element/module/index.js';\n\nlet count = 0;\n\nexport default () =\u003e html`\n    \u003cstrong\u003e${() =\u003e `Hello World ${count}`}\u003c/strong\u003e\n    \u003cbutton onclick=${() =\u003e count++}\u003eGreet\u003c/button\u003e\n`(document.body);\n```\n\n\n## Custom Element\n```js\nimport { html } from 'https://esm.sh/@xeaone/element/module/index.js';\n\nconst {html} = await import('https://esm.sh/@xeaone/element/module/index.js')\n\nexport default class extends HTMLElement {\n    #root = this.attachShadow({ mode: \"open\" });\n    #count = 0;\n    #render = () =\u003e html`\n        \u003cstrong\u003e${() =\u003e `Hello World ${this.#count}`}\u003c/strong\u003e\n        \u003cbutton onclick=${() =\u003e this.#count++}\u003eGreet\u003c/button\u003e\n    `(this.#root);\n    constructor() {\n        super();\n        this.#render();\n    }\n}\n```\n\n\n## Use\nThe two directories to use are `module` and `bundle`. Bundle includes ESNext and ES2015 js bundles. Module contains ESM files with `.js, .ts, and .d.ts`.\n\n## NPM\n```\nnpm install @xeaone/element\n```\n\u003c!-- deno add @xeaone/element --\u003e\n\n## CDN\n- [https://www.npmjs.com/package/@xeaone/element](https://www.npmjs.com/package/@xeaone/element)\n- [https://esm.sh/@xeaone/element/module/index.ts](https://esm.sh/@xeaone/element/module/index.ts)\n- [https://esm.sh/@xeaone/element/module/index.js](https://esm.sh/@xeaone/element/module/index.js)\n- [https://cdn.jsdelivr.net/gh/xeaone/element/module/index.ts](https://cdn.jsdelivr.net/gh/xeaone/element/module/index.ts)\n- [https://cdn.jsdelivr.net/gh/xeaone/element/module/index.js](https://cdn.jsdelivr.net/gh/xeaone/element/module/index.js)\n\n\n## Author\n[xeaone](https://github.com/xeaone)\n\n\n## License\nThis project is licensed under the MPL-2.0 License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxeaone%2Felement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxeaone%2Felement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxeaone%2Felement/lists"}