🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-json-pretty

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-json-pretty - npm Package Compare versions

Comparing version

to
1.7.1

2

package.json
{
"name": "react-json-pretty",
"version": "1.7.0",
"version": "1.7.1",
"description": "A code formatting tool for raw json data",

@@ -5,0 +5,0 @@ "main": "src/JSONPretty.js",

@@ -24,5 +24,3 @@ # React JSON Pretty

```javascript
var JSONPretty = require('react-json-pretty');
```

@@ -32,5 +30,3 @@ Or use the es2015 syntax with the help of babel:

```javascript
import JSONPretty from 'react-json-pretty';
```

@@ -41,5 +37,3 @@

```javascript
<JSONPretty id="json-pretty" json={obj}></JSONPretty>
```

@@ -52,5 +46,3 @@

```javascript
require('react-json-pretty/JSONPretty.monikai.styl');
```

@@ -61,3 +53,3 @@

```javascript
import 'react-json-pretty/JSONPretty.monikai.styl';
import 'react-json-pretty/JSONPretty.monikai.styl';
```

@@ -88,3 +80,2 @@

```javascript
<JSONPretty json={yourJSON} replacer={

@@ -103,3 +94,2 @@ function (key, value) {

</JSONPretty>
```

@@ -116,6 +106,4 @@

```javascript
// The final className will be 'test-class custom-json-pretty'
<JSONPretty className="test-class" themeClassName="custom-json-pretty" json={yourjson}></JSONPretty>
```

@@ -122,0 +110,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet