diffx-js 0.6.1 → 0.7.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.
package/README.md CHANGED
@@ -1,11 +1,15 @@
1
- # diffx-js
1
+ # diffx
2
+
3
+ [![CI](https://github.com/kako-jun/diffx-js/actions/workflows/ci.yml/badge.svg)](https://github.com/kako-jun/diffx-js/actions/workflows/ci.yml)
4
+ [![npm](https://img.shields.io/npm/v/diffx.svg)](https://www.npmjs.com/package/diffx)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
2
6
 
3
7
  Node.js bindings for [diffx](https://github.com/kako-jun/diffx) - semantic diff for structured data (JSON, YAML, TOML, XML, INI, CSV). Powered by Rust via napi-rs for blazing fast performance.
4
8
 
5
9
  ## Installation
6
10
 
7
11
  ```bash
8
- npm install diffx-js
12
+ npm install diffx
9
13
  ```
10
14
 
11
15
  ### Supported Platforms
@@ -24,7 +28,7 @@ npm install diffx-js
24
28
  ### Basic Diff
25
29
 
26
30
  ```javascript
27
- const { diff } = require('diffx-js');
31
+ const { diff } = require('diffx');
28
32
 
29
33
  const old = { name: "Alice", age: 30 };
30
34
  const newObj = { name: "Alice", age: 31, city: "Tokyo" };
@@ -56,7 +60,7 @@ const results = diff(data1, data2, {
56
60
  Parse various formats to JavaScript objects:
57
61
 
58
62
  ```javascript
59
- const { parseJson, parseYaml, parseToml, parseCsv, parseIni, parseXml } = require('diffx-js');
63
+ const { parseJson, parseYaml, parseToml, parseCsv, parseIni, parseXml } = require('diffx');
60
64
 
61
65
  const jsonObj = parseJson('{"name": "Alice"}');
62
66
  const yamlObj = parseYaml('name: Alice\nage: 30');
@@ -69,7 +73,7 @@ const xmlObj = parseXml('<user><name>Alice</name></user>');
69
73
  ### Format Output
70
74
 
71
75
  ```javascript
72
- const { diff, formatOutput } = require('diffx-js');
76
+ const { diff, formatOutput } = require('diffx');
73
77
 
74
78
  const results = diff(old, newObj);
75
79
  console.log(formatOutput(results, 'json')); // JSON format
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diffx-js",
3
- "version": "0.6.1",
3
+ "version": "0.7.1",
4
4
  "description": "Node.js bindings for diffx - semantic diffing of JSON, YAML, TOML, XML, INI, and CSV files. Powered by Rust for blazing fast performance.",
5
5
  "keywords": [
6
6
  "diff",
@@ -92,11 +92,11 @@
92
92
  ]
93
93
  },
94
94
  "optionalDependencies": {
95
- "diffx-js-linux-x64-gnu": "0.6.1",
96
- "diffx-js-linux-x64-musl": "0.6.1",
97
- "diffx-js-linux-arm64-gnu": "0.6.1",
98
- "diffx-js-darwin-x64": "0.6.1",
99
- "diffx-js-darwin-arm64": "0.6.1",
100
- "diffx-js-win32-x64-msvc": "0.6.1"
95
+ "diffx-linux-x64-gnu": "0.7.1",
96
+ "diffx-linux-x64-musl": "0.7.1",
97
+ "diffx-linux-arm64-gnu": "0.7.1",
98
+ "diffx-darwin-x64": "0.7.1",
99
+ "diffx-darwin-arm64": "0.7.1",
100
+ "diffx-win32-x64-msvc": "0.7.1"
101
101
  }
102
102
  }
Binary file
package/index.d.ts DELETED
File without changes