
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
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 1,306 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.