Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-json-view

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-json-view - npm Package Compare versions

Comparing version 1.3.5 to 1.4.0

2

package.json
{
"name": "react-json-view",
"description": "interactive json viewer wrapped up in a react component",
"version": "1.3.5",
"version": "1.4.0",
"main": "dist/main.js",

@@ -6,0 +6,0 @@ "files": [

@@ -29,2 +29,10 @@ # react-json-view

### Props
Name|Type|Default|Description
|:---|:---|:---|:---
`src`|`JSON Object`|None|This property contains your input JSON
`name`|`string`|"root"|Contains the name of your root node
`collapsed`|`boolean`|false|If set to `true`, all nodes will be collapsed by default
`indentWidth`|`integer`|4|Set the indent-width for nested objects
### Features

@@ -34,3 +42,3 @@ * Object and array nodes can be collapsed and expanded

* Object and array nodes include a "Copy to Clipboard" feature
* Different classes are applied to different types for style interaction.
* Different classes are applied to different types for style interaction

@@ -79,3 +87,2 @@ ### Customizing Style

3. improve customizability
* add optional `depth` prop
* add optional `showTypes` prop

@@ -82,0 +89,0 @@ * add props to define what is expanded/collapsed by default

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc