{"id":18704884,"url":"https://github.com/xiaohk/wikeddiff","last_synced_at":"2025-06-15T04:03:44.482Z","repository":{"id":204628442,"uuid":"712263279","full_name":"xiaohk/wikeddiff","owner":"xiaohk","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-31T06:18:41.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-19T06:07:20.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/xiaohk.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}},"created_at":"2023-10-31T05:52:27.000Z","updated_at":"2023-10-31T06:34:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a50f2a4-44bf-44db-a9a1-8b50230dba9e","html_url":"https://github.com/xiaohk/wikeddiff","commit_stats":null,"previous_names":["xiaohk/wikeddiff"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiaohk/wikeddiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohk%2Fwikeddiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohk%2Fwikeddiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohk%2Fwikeddiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohk%2Fwikeddiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaohk","download_url":"https://codeload.github.com/xiaohk/wikeddiff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohk%2Fwikeddiff/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259919300,"owners_count":22932068,"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-07T12:08:58.260Z","updated_at":"2025-06-15T04:03:44.449Z","avatar_url":"https://github.com/xiaohk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WikEd Diff\n\nMirror of [WikEd Diff](https://en.wikipedia.org/wiki/User:Cacycle/diff), a free\nJavaScript visual diff library for inline text comparisons, written by\n[Cacycle](https://en.wikipedia.org/wiki/User:Cacycle).\n\n## Features\n\n- Visual inline style, changes are shown in a single output text\n- Block move detection and highlighting\n- Resolution down to characters level\n- Unicode and multilingual support\n- Stepwise split (paragraphs, sentences, words, characters)\n- Recursive diff\n- Optimized code for resolving unmatched sequences\n- Minimization of length of moved blocks\n- Alignment of ambiguous unmatched sequences to next line break or word border\n- Clipping of unchanged irrelevant parts from the output (optional)\n- Fully customizable\n- Text split optimized for MediaWiki source texts\n- Well commented and documented code\n- **TypeScript type definitions (new)**\n\n## Install\n\n```bash\nnpm install wikeddiff\n```\n\n## Demo\n\nOnline visual\n[text diffing tool](http://cacycle.altervista.org/wikEd-diff-tool.html), created\nby [Cacycle](https://en.wikipedia.org/wiki/User:Cacycle).\n\n## Usage\n\n```ts\nimport { WikEdDiff } from 'wikeddiff';\n\nconst wikEdDiff = new WikEdDiff();\nconst diffs = wikEdDiff.diff(oldText, newText);\n```\n\nFor detailed documentation, see the\n[original project page](https://en.wikipedia.org/wiki/User:Cacycle/diff).\n\n## License\n\nCC0-1.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohk%2Fwikeddiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaohk%2Fwikeddiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohk%2Fwikeddiff/lists"}