
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
vue-json-pretty
Advanced tools
A Vue.js project for json-pretty. leezng/vue-json-pretty
npm install vue-json-pretty
<template>
<div>
...
<vue-json-pretty
:path="'res'"
:data="{ key: 'value' }"
@click="handleClick">
</vue-json-pretty>
</div>
</template>
import VueJsonPretty from 'vue-json-pretty'
export default {
components: {
VueJsonPretty
}
}
Attribute | Description | Type | Default |
---|---|---|---|
data | json data | string, array, object | - |
path | root data path | string | root |
Event Name | Description | Callback Parameters |
---|---|---|
click | triggered when a data item is clicked | (path, data) |
FAQs
A JSON tree view component that is easy to use and also supports data selection.
The npm package vue-json-pretty receives a total of 161,441 weekly downloads. As such, vue-json-pretty popularity was classified as popular.
We found that vue-json-pretty demonstrated a healthy version release cadence and project activity because the last version was released less than 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.