jsonizeit 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.
package/ReadMe.md ADDED
@@ -0,0 +1,61 @@
1
+
2
+ βΈ»
3
+ # πŸš€ JsonizeIt
4
+
5
+ JsonizeIt is a developer utility tool that converts JSON into:
6
+ β€’ βœ… C# Classes (with nested object support)
7
+ β€’ βœ… XML
8
+ β€’ βœ… CSV
9
+
10
+ It is available as:
11
+ β€’ πŸ“¦ npm package
12
+ β€’ 🌐 Web application
13
+ β€’ πŸ’» Open-source GitHub repository
14
+
15
+ βΈ»
16
+
17
+ #### πŸ”— Links
18
+ β€’ 🌐 Web Version: https://jsonizeit.com/
19
+ β€’ 🌐 Author : https://codewithkhareem.com/
20
+ β€’ πŸ“‚ GitHub Repository: https://github.com/Khareem23/JsonizeIt
21
+ β€’ πŸ“¦ npm Package: https://www.npmjs.com/package/jsonizeit
22
+
23
+
24
+ βΈ»
25
+
26
+ #### ✨ Features
27
+ β€’ πŸ”„ JSON β†’ C# Class conversion
28
+ β€’ 🧠 Nested object support
29
+ β€’ πŸ“š Array handling (List)
30
+ β€’ 🏷 Nullable type handling
31
+ β€’ πŸ“„ JSON β†’ XML conversion
32
+ β€’ πŸ“Š JSON β†’ CSV conversion
33
+ β€’ ⚑ Lightweight and fast
34
+ β€’ πŸ›  CLI support
35
+ β€’ 🌍 Web-based interface available
36
+
37
+ βΈ»
38
+
39
+ #### πŸ“¦ Installation (npm)
40
+
41
+ ```bash
42
+ npm install jsonizeit
43
+ ```
44
+
45
+ ### πŸ§‘β€πŸ’» Usage (Node.js)
46
+
47
+ ```javascript
48
+ const jsonizeit = require("jsonizeit");
49
+
50
+ const sample = {
51
+ name: "John",
52
+ age: 30,
53
+ isActive: true
54
+ };
55
+
56
+ console.log(jsonizeit.jsonToCSharp(sample, "Person"));
57
+ console.log(jsonizeit.jsonToXml(sample));
58
+ console.log(jsonizeit.jsonToCsv([sample]));
59
+
60
+ ```
61
+
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
- const jsonToCSharp = require("./jsonToCSharp");
2
- const jsonToXml = require("./jsonToXml");
3
- const jsonToCsv = require("./jsonToCsv");
1
+ const jsonToCSharp = require("./src/jsonToCSharp");
2
+ const jsonToXml = require("./src/jsonToXml");
3
+ const jsonToCsv = require("./src/jsonToCsv");
4
4
 
5
5
  module.exports = {
6
6
  jsonToCSharp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsonizeit",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Convert JSON to C# Class, XML and CSV",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/test.js CHANGED
@@ -1,4 +1,5 @@
1
- const transformer = require("jsonizeit");
1
+ //const transformer = require("jsonizeit");
2
+ const transformer = require("./index");
2
3
 
3
4
  const sample = {
4
5
  name: "John",