Gathering detailed insights and metrics for @vidday/vanilla-jsoneditor
Gathering detailed insights and metrics for @vidday/vanilla-jsoneditor
Gathering detailed insights and metrics for @vidday/vanilla-jsoneditor
Gathering detailed insights and metrics for @vidday/vanilla-jsoneditor
A web-based tool to view, edit, format, repair, query, transform, and validate JSON
npm install @vidday/vanilla-jsoneditor
Typescript
Module System
Node Version
NPM Version
TypeScript (54.43%)
Svelte (36.26%)
SCSS (6.21%)
HTML (1.33%)
JavaScript (1.22%)
CSS (0.56%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
1,081 Stars
1,278 Commits
125 Forks
8 Watchers
4 Branches
21 Contributors
Updated on Jul 11, 2025
Latest Version
0.7.20
Package Id
@vidday/vanilla-jsoneditor@0.7.20
Unpacked Size
6.13 MB
Size
1.70 MB
File Count
10
NPM Version
8.5.5
Node Version
16.15.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A web-based tool to view, edit, format, transform, and validate JSON.
Try it out: https://jsoneditoronline.org
This is the vanilla variant of svelte-jsoneditor
, which can be used in vanilla JavaScript or frameworks like SolidJS, React, Vue, Angular.
Install using npm:
npm install vanilla-jsoneditor
Remark: for usage in a Svelte project, install svelte-jsoneditor
instead.
Browser example loading the ES module:
1<!DOCTYPE html> 2<html lang="en"> 3 <head> 4 <title>JSONEditor</title> 5 </head> 6 <body> 7 <div id="jsoneditor"></div> 8 9 <script type="module"> 10 import { JSONEditor } from 'vanilla-jsoneditor' 11 12 let content = { 13 text: undefined, 14 json: { 15 greeting: 'Hello World' 16 } 17 } 18 19 const editor = new JSONEditor({ 20 target: document.getElementById('jsoneditor'), 21 props: { 22 content, 23 onChange: (updatedContent, previousContent, { contentErrors, patchResult }) => { 24 // content is an object { json: JSONData } | { text: string } 25 console.log('onChange', { updatedContent, previousContent, contentErrors, patchResult }) 26 content = updatedContent 27 } 28 } 29 }) 30 31 // use methods get, set, update, and onChange to get data in or out of the editor. 32 // Use updateProps to update properties. 33 </script> 34 </body> 35</html>
For documentation, see: https://github.com/josdejong/svelte-jsoneditor
No vulnerabilities found.
Reason
12 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 1/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
Project has not signed or included provenance with any releases.
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More