{"library":"v-code-diff","type":"library","category":null,"description":"v-code-diff is a Vue.js component designed for visually displaying code differences, supporting both Vue 2 (2.6.0+) and Vue 3 environments through its `vue-demi` integration. The current stable version is 1.13.1, with active development on the 1.x branch. This library differentiates itself by offering seamless cross-version compatibility for Vue projects, allowing developers to integrate robust code diffing capabilities regardless of their specific Vue ecosystem version. It builds upon established projects like `vue-diff` and `vue-code-diff`, and leverages `highlight.js` for extensive language support, defaulting to plaintext but configurable for numerous programming languages. The component supports both local and global registration, with local registration being the recommended approach for optimal tree-shaking. A clear migration path from the older 0.x versions to the current 1.x series is provided to simplify transitions.","language":"javascript","status":"active","version":"1.13.1","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install v-code-diff","imports":["import { CodeDiff } from 'v-code-diff'","import CodeDiff from 'v-code-diff';\n// then Vue.use(CodeDiff) or app.use(CodeDiff)","import { CodeDiff } from 'v-code-diff'"]},{"cmd":"yarn add v-code-diff","imports":[]},{"cmd":"pnpm add v-code-diff","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/v-code-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/v-code-diff/compatibility"}}