{"library":"vue-diff","type":"library","category":null,"description":"Vue-diff is a Vue 3 component designed for rendering code differences in a user-friendly interface. It offers both split (side-by-side) and unified (inline) viewing modes, similar to those found in popular version control interfaces like GitHub Desktop. The component leverages `diff-match-patch` for its core diffing algorithm and `highlight.js` for robust syntax highlighting across various programming languages. Key features include support for customizable light and dark themes, virtual scrolling to efficiently handle large text comparisons, and a folding view for improved readability. It ships with TypeScript types, ensuring a good developer experience in TypeScript projects. The current stable version is 1.2.4, released in June 2022. While functional, its release cadence appears to be slow, suggesting a maintenance-focused development status rather than active feature expansion.","language":"javascript","status":"maintenance","version":"1.2.4","tags":["javascript","Vue","VueJS","Vue diff","VueJS diff","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-diff","imports":["import VueDiff from 'vue-diff';","import 'vue-diff/dist/index.css';","app.use(VueDiff);"]},{"cmd":"yarn add vue-diff","imports":[]},{"cmd":"pnpm add vue-diff","imports":[]}],"homepage":null,"github":"https://github.com/hoiheart/vue-diff","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-diff","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-diff/compatibility"}}