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.
- package/.github/workflows/ci-cd.yml +1 -1
- package/docs/.nojekyll +0 -0
- package/docs/README.md +44 -0
- package/docs/demo.bundle.js +1708 -0
- package/docs/index.html +536 -0
- package/eslint.config.js +1 -1
- package/package.json +5 -1
- package/docs/api/BrowserApi.html +0 -2662
- package/docs/api/BrowserApiError.html +0 -669
- package/docs/api/ConfigurationError.html +0 -745
- package/docs/api/CsvFormatError.html +0 -677
- package/docs/api/CsvParsingError.html +0 -511
- package/docs/api/CsvToJson.html +0 -3367
- package/docs/api/CsvToJsonAsync.html +0 -2880
- package/docs/api/FileOperationError.html +0 -382
- package/docs/api/FileUtils.html +0 -1150
- package/docs/api/InputValidationError.html +0 -407
- package/docs/api/JsonUtil.html +0 -452
- package/docs/api/JsonValidationError.html +0 -357
- package/docs/api/StringUtils.html +0 -833
- package/docs/api/global.html +0 -3498
- package/docs/api/index.html +0 -414
- package/docs/api/index.js.html +0 -447
- package/docs/api/scripts/app.min.js +0 -1
- package/docs/api/scripts/linenumber.js +0 -26
- package/docs/api/scripts/search.js +0 -39
- package/docs/api/src_browserApi.js.html +0 -362
- package/docs/api/src_csvToJson.js.html +0 -696
- package/docs/api/src_csvToJsonAsync.js.html +0 -335
- package/docs/api/src_util_errors.js.html +0 -472
- package/docs/api/src_util_fileUtils.js.html +0 -238
- package/docs/api/src_util_jsonUtils.js.html +0 -166
- package/docs/api/src_util_stringUtils.js.html +0 -306
- package/docs/api/styles/app.min.css +0 -1
- package/docs/api/styles/iframe.css +0 -13
- package/docs/api/styles/prettify-jsdoc.css +0 -111
- package/docs/api/styles/prettify-tomorrow.css +0 -132
- package/docs/api/styles/reset.css +0 -44
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.
|