{"id":13837661,"url":"https://github.com/herber/morphist","last_synced_at":"2025-04-05T13:12:37.931Z","repository":{"id":91646471,"uuid":"122937955","full_name":"herber/morphist","owner":"herber","description":"⚡️🎭 [WIP] Tiny dom morphing library","archived":false,"fork":false,"pushed_at":"2018-02-27T11:49:08.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-16T01:08:50.704Z","etag":null,"topics":["dom","morphing","vdom"],"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/herber.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}},"created_at":"2018-02-26T08:29:05.000Z","updated_at":"2023-01-15T20:44:35.000Z","dependencies_parsed_at":"2024-01-13T17:11:05.160Z","dependency_job_id":"37b5132e-178a-47e2-ac92-00106c05aea8","html_url":"https://github.com/herber/morphist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herber%2Fmorphist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herber%2Fmorphist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herber%2Fmorphist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herber%2Fmorphist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herber","download_url":"https://codeload.github.com/herber/morphist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339161,"owners_count":20923014,"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","morphing","vdom"],"created_at":"2024-08-04T15:01:19.255Z","updated_at":"2025-04-05T13:12:37.912Z","avatar_url":"https://github.com/herber.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# _[WIP]_ Morphist\n\n\u003cp align=\"center\"\u003eA tiny dom morphing library\u003c/p\u003e\n\n__Morphist__ diffs read dom nodes. We don't use a vdom, because the dom is really efficient at everything we need.\n\n## Install\n\n```\n$ npm install morphist\n```\n\n## Usage\n\n```js\nconst morphist = require('morphist');\nconst bel = require('bel');\n\nconst tree = html`\u003cdiv\u003ehello\u003c/div\u003e`;\ndocument.body.appendChild(tree);\n\nmorphist(tree, html`\u003cdiv\u003ehello world\u003c/div\u003e`);\n```\n\n## Alternatives\n\n- [Nanomorph](https://github.com/choojs/nanomorph)\n- [Morphdom](https://github.com/patrick-steele-idem/morphdom)\n\n## License\n\nMIT © [Tobias Herber](http://tobihrbr.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherber%2Fmorphist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherber%2Fmorphist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherber%2Fmorphist/lists"}