
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
vue-json-compare
Advanced tools
A vue(2.x) components for compare JSON data
npm install --save vue-json-compare
<template>
<div>
<vue-json-compare :oldData="oldData" :newData="newData"></vue-json-compare>
</div>
</template>
import vueJsonCompare from 'vue-json-compare'
export default {
components: {
vueJsonCompare
},
data () {
return {
oldData: {
a: 1,
e: 0
},
newData: {
a: 2
b: 3
}
}
}
}
注意:左边是使用了vue-json这个包,纯展示使用的。右边的才是vue-json-compare展示的结果。 (left: vue-json-cool component, right: vue-json-compare component)
Attribute | Level | Description | Type | Default |
---|---|---|---|---|
oldData | basic | json data | JSON object or object Array, {...}, [{...}, {...}] | - |
newData | basic | json data | JSON object or object Array, {...}, [{...}, {...}] | - |
not yet...
如果喜欢请给个星星,谢谢。 If you like, please give me a star, thank you.
如果需要帮助: QQ:1573815240 邮箱: 1573815240@qq.com if you need help: QQ:1573815240 email: 1573815240@qq.com
FAQs
A vue(2.x) components for compare JSON data
The npm package vue-json-compare receives a total of 3,386 weekly downloads. As such, vue-json-compare popularity was classified as popular.
We found that vue-json-compare demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.