{"id":44445044,"url":"https://github.com/emmyjs/emmy-dom","last_synced_at":"2026-02-12T15:16:38.912Z","repository":{"id":199541256,"uuid":"703147609","full_name":"emmyjs/emmy-dom","owner":"emmyjs","description":"A tiny simple way for building web user interfaces","archived":false,"fork":false,"pushed_at":"2024-10-28T13:09:35.000Z","size":1946,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T10:42:59.997Z","etag":null,"topics":["custom-elements","dom-manipulation","emmy-dom","emmy-js","front-end","functional-web-components","reactive","web-components"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/emmy-dom","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/emmyjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2023-10-10T17:24:32.000Z","updated_at":"2024-08-04T02:01:57.000Z","dependencies_parsed_at":"2024-02-08T16:51:02.314Z","dependency_job_id":"0a4f6016-a31c-42a0-b0af-b15f68027607","html_url":"https://github.com/emmyjs/emmy-dom","commit_stats":null,"previous_names":["emmyjs/emmy-dom"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/emmyjs/emmy-dom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmyjs%2Femmy-dom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmyjs%2Femmy-dom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmyjs%2Femmy-dom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmyjs%2Femmy-dom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmyjs","download_url":"https://codeload.github.com/emmyjs/emmy-dom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmyjs%2Femmy-dom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29369860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["custom-elements","dom-manipulation","emmy-dom","emmy-js","front-end","functional-web-components","reactive","web-components"],"created_at":"2026-02-12T15:16:38.099Z","updated_at":"2026-02-12T15:16:38.902Z","avatar_url":"https://github.com/emmyjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003csection align=\"center\" style=\"display: flex; flex-direction: column\"\u003e\r\n  \u003ch1\u003eEmmy.js\u003c/h1\u003e\r\n  \u003cdiv\u003e\r\n    \u003ca href=\"https://github.com/firstcontributions/open-source-badges\" alt=\"Open Source Love\"\u003e\u003cimg src=\"https://firstcontributions.github.io/open-source-badges/badges/open-source-v1/open-source.svg\" /\u003e\r\n    \u003c/a\u003e\r\n    \u003cimg alt=\"version\" src=\"https://img.shields.io/npm/v/emmy-dom\"/\u003e\r\n    \u003cimg alt=\"downloads\" src=\"https://img.shields.io/npm/dt/emmy-dom\"/\u003e\r\n    \u003cimg alt=\"minified + gzipped\" src=\"https://img.shields.io/bundlephobia/minzip/emmy-dom\"/\u003e\r\n    \u003cimg alt=\"license\" src=\"https://img.shields.io/npm/l/emmy-dom\"/\u003e\r\n    \u003cimg alt=\"github last commit\" src=\"https://img.shields.io/github/last-commit/emmyjs/emmy-dom\"/\u003e\r\n    \u003cimg alt=\"tests\" src=\"https://github.com/emmyjs/emmy-dom/actions/workflows/vitest.yml/badge.svg\"/\u003e\r\n  \u003c/div\u003e\r\n  \u003ci\u003eA tiny simple way for building web user interfaces using functional Web Components\u003c/i\u003e\r\n\u003c/section\u003e\r\n\u003chr /\u003e\r\n\r\n## Why Emmy.js?\r\nEmmy.js is a tiny simple way for building web user interfaces using functional Web Components. It is based on the [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components) standard.\r\nIt is specially designed for building web applications with server-side frameworks like Ruby on Rails, Django, Laravel, etc. [More info](https://emmyjs.pages.dev/getting-started)\r\n\r\n\u003chr /\u003e\r\n\r\n\u003e [!NOTE]\r\n\u003e Emmy.js is still in an experimental phase, so it is not recommended to use it in production, but you can try it out and give us your feedback.\r\n\r\n## `npx create-emmy`\r\n\r\n[create-emmy](https://www.npmjs.com/package/create-emmy) is a command line tool that allows you to create a new Emmy.js project. [More info](https://github.com/emmyjs/create-emmy#readme)\r\n\r\n\u003e [!TIP]\r\n\u003e create-emmy 0.2.2 is now here! Try prerendering in a Vanilla Emmy app now!\r\n\u003e In order to create a new Emmy.js project, you can run the following command and follow the instructions:\r\n\u003e `npx create-emmy`\r\n\r\n## Frameworks Guides\r\nFor your specific framework, see the following guides:\r\n1. [Ruby on Rails](https://emmyjs.pages.dev/documentation/rails)\r\n2. [Vite](https://emmyjs.pages.dev/documentation/vite)\r\n\r\n## Quick Start\r\n### Installation\r\n#### Using CDN\r\nJust add the following script tag to your HTML file:\r\n\r\n```html\r\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/emmy-dom@latest\" type=\"module\"\u003e\u003c/script\u003e\r\n```\r\n\r\nThis option is recommended for quick testing, but it will not allow you to use the pre-rendering feature.\r\n\r\n#### Using npm\r\nFirst install the package:\r\n\r\n```bash\r\nnpm install emmy-dom\r\n```\r\n\r\n### Usage \r\n\r\nThen, use the `emmy-dom` package in your JavaScript files:\r\n\r\n```javascript\r\nimport { load, html } from 'emmy-dom'\r\n\r\nconst myComponent = () =\u003e html`\r\n  \u003cdiv\u003eHello World!\u003c/div\u003e\r\n`\r\n\r\nload(myComponent, 'MyComponent')\r\n```\r\n\r\n## Documentation\r\nYou can find the documentation [here](https://emmyjs.pages.dev/documentation).\r\n\r\n[Tutorial](https://www.youtube.com/watch?v=rOxAJ9c068c)\r\n\r\n## Contributing\r\nWe are open to contributions. If you want to contribute, please read the [contributing guide](CONTRIBUTING.md).\r\n\r\n## License\r\nEmmy.js is licensed under the [MIT License](LICENSE).\r\n\r\n## Features\r\n1. [Class Components](https://emmyjs.pages.dev/documentation)\r\n2. [Functional Components](https://emmyjs.pages.dev/documentation)\r\n3. [Page Components](https://emmyjs.pages.dev/documentation)\r\n4. [Emmy Hooks](https://emmyjs.pages.dev/documentation)\r\n5. [Emmy Router](https://emmyjs.pages.dev/documentation)\r\n6. [Pre-rendering](https://emmyjs.pages.dev/documentation)\r\n8. [Compatibility with server-side frameworks](https://emmyjs.pages.dev/documentation)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmyjs%2Femmy-dom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmyjs%2Femmy-dom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmyjs%2Femmy-dom/lists"}