{"id":19346439,"url":"https://github.com/canjs/dom-patch","last_synced_at":"2025-04-23T05:30:26.101Z","repository":{"id":35117774,"uuid":"39309240","full_name":"canjs/dom-patch","owner":"canjs","description":"dom-patch","archived":false,"fork":false,"pushed_at":"2020-03-30T01:33:44.000Z","size":221,"stargazers_count":8,"open_issues_count":14,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-11T13:49:09.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/dom-patch","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"smartwalle/alipay","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/canjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-18T19:00:18.000Z","updated_at":"2020-09-16T06:31:56.000Z","dependencies_parsed_at":"2022-08-26T13:31:28.791Z","dependency_job_id":null,"html_url":"https://github.com/canjs/dom-patch","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canjs%2Fdom-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canjs%2Fdom-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canjs%2Fdom-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canjs%2Fdom-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/canjs","download_url":"https://codeload.github.com/canjs/dom-patch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223909972,"owners_count":17223592,"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":[],"created_at":"2024-11-10T04:10:23.013Z","updated_at":"2024-11-10T04:10:23.556Z","avatar_url":"https://github.com/canjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dom-patch\n\n[![Build Status](https://travis-ci.org/canjs/dom-patch.svg?branch=master)](https://travis-ci.org/canjs/dom-patch)\n[![npm version](https://badge.fury.io/js/dom-patch.svg)](http://badge.fury.io/js/dom-patch)\n\nA library for patching DOMs. Binding to a document will return patches as they happen, which can be re-applied to another document.\n\nThis is useful when syncing DOMs, such as with web worker rendering.\n\n## Usage\n\n```js\nvar patch = require(\"dom-patch\");\nvar apply = require(\"dom-patch/apply\");\n\npatch(document, function(patches){\n\n\tapply(otherDocument, patches);\n\n});\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanjs%2Fdom-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcanjs%2Fdom-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanjs%2Fdom-patch/lists"}