jsondiffpatch-html 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,27 +2,17 @@
2
2
 
3
3
  CLI tool to generate HTML diff reports from JSON files using `jsondiffpatch`.
4
4
 
5
- ## Install Dependecies
5
+ ## Install it
6
6
 
7
- ```bash
8
- npm install
9
- ```
10
-
11
- ## Add execute permission
12
-
13
- ```
14
- chmod +x bin/jsondiffpatch-html.js
15
- ```
16
-
17
- ## Link the command
18
7
 
19
8
  ```
20
- npm link
9
+ npm i -g jsondiffpatch-html
21
10
  ```
22
11
 
23
- ## Run the command
12
+ ## Use it
24
13
 
25
14
  ```
26
- jsondiffpatch-html left.json right.json -o diff.html
15
+ jsondiffpatch-html -h
16
+ Usage: jsondiffpatch-html old.json new.json [-o output.html]
27
17
  ```
28
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsondiffpatch-html",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "CLI tool to generate HTML diff reports from JSON files using jsondiffpatch",
5
5
  "main": "bin/jsondiffpatch-html.js",
6
6
  "bin": {