convert-csv-to-json 4.14.0 → 4.16.0

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 (38) hide show
  1. package/.github/workflows/ci-cd.yml +1 -1
  2. package/docs/.nojekyll +0 -0
  3. package/docs/README.md +44 -0
  4. package/docs/demo.bundle.js +1708 -0
  5. package/docs/index.html +536 -0
  6. package/eslint.config.js +1 -1
  7. package/package.json +5 -1
  8. package/docs/api/BrowserApi.html +0 -2662
  9. package/docs/api/BrowserApiError.html +0 -669
  10. package/docs/api/ConfigurationError.html +0 -745
  11. package/docs/api/CsvFormatError.html +0 -677
  12. package/docs/api/CsvParsingError.html +0 -511
  13. package/docs/api/CsvToJson.html +0 -3367
  14. package/docs/api/CsvToJsonAsync.html +0 -2880
  15. package/docs/api/FileOperationError.html +0 -382
  16. package/docs/api/FileUtils.html +0 -1150
  17. package/docs/api/InputValidationError.html +0 -407
  18. package/docs/api/JsonUtil.html +0 -452
  19. package/docs/api/JsonValidationError.html +0 -357
  20. package/docs/api/StringUtils.html +0 -833
  21. package/docs/api/global.html +0 -3498
  22. package/docs/api/index.html +0 -414
  23. package/docs/api/index.js.html +0 -447
  24. package/docs/api/scripts/app.min.js +0 -1
  25. package/docs/api/scripts/linenumber.js +0 -26
  26. package/docs/api/scripts/search.js +0 -39
  27. package/docs/api/src_browserApi.js.html +0 -362
  28. package/docs/api/src_csvToJson.js.html +0 -696
  29. package/docs/api/src_csvToJsonAsync.js.html +0 -335
  30. package/docs/api/src_util_errors.js.html +0 -472
  31. package/docs/api/src_util_fileUtils.js.html +0 -238
  32. package/docs/api/src_util_jsonUtils.js.html +0 -166
  33. package/docs/api/src_util_stringUtils.js.html +0 -306
  34. package/docs/api/styles/app.min.css +0 -1
  35. package/docs/api/styles/iframe.css +0 -13
  36. package/docs/api/styles/prettify-jsdoc.css +0 -111
  37. package/docs/api/styles/prettify-tomorrow.css +0 -132
  38. package/docs/api/styles/reset.css +0 -44
@@ -80,7 +80,7 @@ jobs:
80
80
  - name: Upload pages artifact
81
81
  uses: actions/upload-pages-artifact@v3
82
82
  with:
83
- path: docs/api
83
+ path: docs
84
84
  - name: Deploy to GitHub Pages
85
85
  uses: actions/deploy-pages@v4
86
86
 
package/docs/.nojekyll ADDED
File without changes
package/docs/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # CSV to JSON Demo
2
+
3
+ This is a live demo of the CSV to JSON converter library, similar to PapaParse's demo.
4
+
5
+ ## Features
6
+
7
+ - **Paste CSV Text**: Input CSV data directly in the textarea
8
+ - **Upload CSV Files**: Drag & drop or select CSV files to parse
9
+ - **Sample Data**: Try pre-loaded sample datasets
10
+ - **Parsing Options**:
11
+ - Format values by type (numbers, booleans)
12
+ - Support quoted fields (RFC 4180)
13
+ - Custom field delimiters
14
+ - Configurable header row index
15
+ - **Multiple Output Views**:
16
+ - Table view for easy data inspection
17
+ - JSON view with syntax highlighting
18
+ - Statistics about the parsed data
19
+ - **Download**: Export parsed JSON data
20
+ - **Responsive Design**: Works on desktop and mobile devices
21
+
22
+ ## How It Works
23
+
24
+ The demo is built using Browserify to bundle the entire library and demo application into a single JavaScript file that runs entirely in the browser. No server-side processing is required.
25
+
26
+ ## Try It Out
27
+
28
+ Visit the live demo at: [https://iuccio.github.io/csvToJson/](https://iuccio.github.io/csvToJson/)
29
+
30
+ ## Building the Demo
31
+
32
+ To build the demo locally:
33
+
34
+ ```bash
35
+ npm run build:all
36
+ ```
37
+
38
+ This creates:
39
+ - `dist/csvToJson.browser.js` - Standalone browser bundle of the library
40
+ - `docs/demo.bundle.js` - Complete demo bundle including library and UI code
41
+
42
+ ## Deployment
43
+
44
+ This demo is deployed using GitHub Pages from the `docs/` folder. The demo is completely static and requires no build process on the server.