convert-csv-to-json 4.13.0 → 4.14.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 (65) hide show
  1. package/.github/workflows/ci-cd.yml +1 -1
  2. package/docs/api/BrowserApi.html +1255 -1028
  3. package/docs/api/BrowserApiError.html +326 -179
  4. package/docs/api/ConfigurationError.html +375 -224
  5. package/docs/api/CsvFormatError.html +334 -187
  6. package/docs/api/CsvParsingError.html +259 -132
  7. package/docs/api/CsvToJson.html +1545 -1314
  8. package/docs/api/CsvToJsonAsync.html +1356 -1148
  9. package/docs/api/FileOperationError.html +213 -101
  10. package/docs/api/FileUtils.html +568 -430
  11. package/docs/api/InputValidationError.html +229 -115
  12. package/docs/api/JsonUtil.html +222 -110
  13. package/docs/api/JsonValidationError.html +197 -87
  14. package/docs/api/StringUtils.html +833 -0
  15. package/docs/api/global.html +1537 -1354
  16. package/docs/api/index.html +114 -26
  17. package/docs/api/index.js.html +137 -31
  18. package/docs/api/scripts/app.min.js +1 -0
  19. package/docs/api/scripts/linenumber.js +10 -9
  20. package/docs/api/scripts/search.js +39 -0
  21. package/docs/api/src_browserApi.js.html +120 -29
  22. package/docs/api/src_csvToJson.js.html +119 -28
  23. package/docs/api/src_csvToJsonAsync.js.html +118 -27
  24. package/docs/api/src_util_errors.js.html +126 -28
  25. package/docs/api/src_util_fileUtils.js.html +117 -26
  26. package/docs/api/src_util_jsonUtils.js.html +117 -26
  27. package/docs/api/src_util_stringUtils.js.html +121 -27
  28. package/docs/api/styles/app.min.css +1 -0
  29. package/docs/api/styles/iframe.css +13 -0
  30. package/docs/api/styles/reset.css +44 -0
  31. package/eslint.config.js +115 -0
  32. package/index.js +21 -5
  33. package/jsdoc.json +29 -4
  34. package/package.json +5 -3
  35. package/src/browserApi.js +4 -3
  36. package/src/csvToJson.js +3 -2
  37. package/src/csvToJsonAsync.js +2 -1
  38. package/src/util/errors.js +10 -2
  39. package/src/util/fileUtils.js +1 -0
  40. package/src/util/jsonUtils.js +1 -0
  41. package/src/util/stringUtils.js +5 -1
  42. package/.eslintignore +0 -3
  43. package/.eslintrc.json +0 -48
  44. package/docs/api/fonts/OpenSans-Bold-webfont.eot +0 -0
  45. package/docs/api/fonts/OpenSans-Bold-webfont.svg +0 -1830
  46. package/docs/api/fonts/OpenSans-Bold-webfont.woff +0 -0
  47. package/docs/api/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  48. package/docs/api/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  49. package/docs/api/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  50. package/docs/api/fonts/OpenSans-Italic-webfont.eot +0 -0
  51. package/docs/api/fonts/OpenSans-Italic-webfont.svg +0 -1830
  52. package/docs/api/fonts/OpenSans-Italic-webfont.woff +0 -0
  53. package/docs/api/fonts/OpenSans-Light-webfont.eot +0 -0
  54. package/docs/api/fonts/OpenSans-Light-webfont.svg +0 -1831
  55. package/docs/api/fonts/OpenSans-Light-webfont.woff +0 -0
  56. package/docs/api/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  57. package/docs/api/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  58. package/docs/api/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  59. package/docs/api/fonts/OpenSans-Regular-webfont.eot +0 -0
  60. package/docs/api/fonts/OpenSans-Regular-webfont.svg +0 -1831
  61. package/docs/api/fonts/OpenSans-Regular-webfont.woff +0 -0
  62. package/docs/api/scripts/prettify/Apache-License-2.0.txt +0 -202
  63. package/docs/api/scripts/prettify/lang-css.js +0 -2
  64. package/docs/api/scripts/prettify/prettify.js +0 -28
  65. package/docs/api/styles/jsdoc-default.css +0 -358
@@ -1,26 +1,107 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
+
3
4
  <head>
4
- <meta charset="utf-8">
5
- <title>JSDoc: Class: BrowserApiError</title>
6
-
7
- <script src="scripts/prettify/prettify.js"> </script>
8
- <script src="scripts/prettify/lang-css.js"> </script>
9
- <!--[if lt IE 9]>
10
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
- <![endif]-->
12
- <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13
- <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
5
+
6
+ <meta charset="utf-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <title> BrowserApiError</title>
9
+
10
+ <script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
11
+ <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
12
+ <script src="./build/entry.js"></script>
13
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
14
+ <!--[if lt IE 9]>
15
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
16
+ <![endif]-->
17
+ <link href="https://fonts.googleapis.com/css?family=Roboto:100,400,700|Inconsolata,700" rel="stylesheet">
18
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
19
+ <link type="text/css" rel="stylesheet" href="https://jmblog.github.io/color-themes-for-google-code-prettify/themes/tomorrow-night.min.css">
20
+ <link type="text/css" rel="stylesheet" href="styles/app.min.css">
21
+ <link type="text/css" rel="stylesheet" href="styles/iframe.css">
22
+ <link type="text/css" rel="stylesheet" href="./node_modules/better-docs/css/better-docs.css">
23
+ <script async defer src="https://buttons.github.io/buttons.js"></script>
24
+
25
+
14
26
  </head>
15
27
 
16
- <body>
17
-
18
- <div id="main">
19
28
 
20
- <h1 class="page-title">Class: BrowserApiError</h1>
21
29
 
30
+ <body class="layout small-header">
31
+ <div id="stickyNavbarOverlay"></div>
22
32
 
23
33
 
34
+ <div class="top-nav">
35
+ <div class="inner">
36
+ <a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
37
+ <span aria-hidden="true"></span>
38
+ <span aria-hidden="true"></span>
39
+ <span aria-hidden="true"></span>
40
+ </a>
41
+ <div class="logo">
42
+
43
+ <a class="image" href="index.html">
44
+ <img src="https://raw.githubusercontent.com/iuccio/CSVtoJSON/master/CSVtoJSON.png" alt="logo">
45
+ </a>
46
+
47
+
48
+ <a href="index.html">
49
+ <h1 class="navbar-item">Convert CSV to JSON</h1>
50
+ </a>
51
+
52
+ </div>
53
+ <div class="menu">
54
+
55
+ <div class="navigation">
56
+ <a
57
+ href="index.html"
58
+ class="link"
59
+ >
60
+ Documentation
61
+ </a>
62
+
63
+
64
+
65
+ <a
66
+ class="link user-link "
67
+ href="https://github.com/iuccio/CSVtoJSON"
68
+ >
69
+ GitHub
70
+ </a>
71
+
72
+ <a
73
+ class="link user-link "
74
+ href="https://www.npmjs.com/package/convert-csv-to-json"
75
+ >
76
+ NPM
77
+ </a>
78
+
79
+
80
+
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ <div id="main">
86
+ <div
87
+ class="sidebar "
88
+ id="sidebarNav"
89
+ >
90
+
91
+ <nav>
92
+
93
+ <h2><a href="index.html">Documentation</a></h2><div class="category"></div><div class="category"><h2>1-Core API</h2><h3>Global</h3><ul><li><a href="global.html#asciiEncoding">asciiEncoding</a></li><li><a href="global.html#base64Encoding">base64Encoding</a></li><li><a href="global.html#csvStringToJson">csvStringToJson</a></li><li><a href="global.html#csvStringToJsonStringified">csvStringToJsonStringified</a></li><li><a href="global.html#csvToJsonAsync">csvToJsonAsync</a></li><li><a href="global.html#customEncoding">customEncoding</a></li><li><a href="global.html#fieldDelimiter">fieldDelimiter</a></li><li><a href="global.html#formatValueByType">formatValueByType</a></li><li><a href="global.html#generateJsonFileFromCsv">generateJsonFileFromCsv</a></li><li><a href="global.html#getJsonFromCsv">getJsonFromCsv</a></li><li><a href="global.html#hexEncoding">hexEncoding</a></li><li><a href="global.html#indexHeader">indexHeader</a></li><li><a href="global.html#latin1Encoding">latin1Encoding</a></li><li><a href="global.html#mapRows">mapRows</a></li><li><a href="global.html#parseSubArray">parseSubArray</a></li><li><a href="global.html#supportQuotedField">supportQuotedField</a></li><li><a href="global.html#trimHeaderFieldWhiteSpace">trimHeaderFieldWhiteSpace</a></li><li><a href="global.html#ucs2Encoding">ucs2Encoding</a></li><li><a href="global.html#utf16leEncoding">utf16leEncoding</a></li><li><a href="global.html#utf8Encoding">utf8Encoding</a></li></ul></div><div class="category"><h2>2-Sync</h2><h3>Classes</h3><ul><li><a href="CsvToJson.html">CsvToJson</a></li></ul></div><div class="category"><h2>3-Async</h2><h3>Classes</h3><ul><li><a href="CsvToJsonAsync.html">CsvToJsonAsync</a></li></ul></div><div class="category"><h2>4-Browser</h2><h3>Classes</h3><ul><li><a href="BrowserApi.html">BrowserApi</a></li></ul></div><div class="category"><h2>Error Classes</h2><h3>Classes</h3><ul><li><a href="BrowserApiError.html">BrowserApiError</a></li><li><a href="ConfigurationError.html">ConfigurationError</a></li><li><a href="CsvFormatError.html">CsvFormatError</a></li><li><a href="CsvParsingError.html">CsvParsingError</a></li><li><a href="FileOperationError.html">FileOperationError</a></li><li><a href="InputValidationError.html">InputValidationError</a></li><li><a href="JsonValidationError.html">JsonValidationError</a></li></ul></div><div class="category"><h2>Utilities</h2><h3>Classes</h3><ul><li><a href="FileUtils.html">FileUtils</a></li><li><a href="JsonUtil.html">JsonUtil</a></li><li><a href="StringUtils.html">StringUtils</a></li></ul></div>
94
+
95
+ </nav>
96
+ </div>
97
+ <div class="core" id="main-content-wrapper">
98
+ <div class="content">
99
+ <header class="page-title">
100
+ <p>Class</p>
101
+ <h1>BrowserApiError</h1>
102
+ </header>
103
+
104
+
24
105
 
25
106
 
26
107
 
@@ -40,25 +121,36 @@ Thrown when browser API operations fail</p></div>
40
121
  <div class="container-overview">
41
122
 
42
123
 
124
+ <div class='vertical-section'>
125
+ <div class="members">
126
+ <div class="member">
127
+ <div class=name>
128
+ <span class="tag">Constructor</span>
129
+ </div>
130
+
131
+
43
132
 
44
133
 
45
- <h2>Constructor</h2>
134
+ <h4 class="name" id="BrowserApiError">
135
+ <a class="href-link" href="#BrowserApiError">#</a>
136
+
137
+ <span class="code-name">
138
+
139
+ new BrowserApiError<span class="signature">(message, context)</span><span class="type-signature"></span>
140
+
141
+ </span>
142
+ </h4>
46
143
 
47
144
 
48
145
 
49
- <h4 class="name" id="BrowserApiError"><span class="type-signature"></span>new BrowserApiError<span class="signature">(message, context)</span><span class="type-signature"></span></h4>
50
146
 
51
-
147
+ <div class="description">
148
+ <p>Create a browser API error</p>
149
+ </div>
52
150
 
53
151
 
54
152
 
55
153
 
56
- <div class="description">
57
- <p>Create a browser API error</p>
58
- </div>
59
-
60
-
61
-
62
154
 
63
155
 
64
156
 
@@ -67,75 +159,79 @@ Thrown when browser API operations fail</p></div>
67
159
 
68
160
  <h5>Parameters:</h5>
69
161
 
162
+ <div class="table-container">
163
+ <table class="params table">
164
+ <thead>
165
+ <tr>
166
+
167
+ <th>Name</th>
168
+
70
169
 
71
- <table class="params">
72
- <thead>
73
- <tr>
74
-
75
- <th>Name</th>
76
-
77
-
78
- <th>Type</th>
170
+ <th>Type</th>
79
171
 
80
-
172
+
81
173
 
82
-
174
+
83
175
 
84
- <th class="last">Description</th>
85
- </tr>
86
- </thead>
176
+ <th class="last">Description</th>
177
+ </tr>
178
+ </thead>
87
179
 
88
- <tbody>
89
-
180
+ <tbody>
181
+
90
182
 
91
- <tr>
92
-
93
- <td class="name"><code>message</code></td>
94
183
 
184
+ <tr class="deep-level-0">
185
+
186
+ <td class="name"><code>message</code></td>
187
+
95
188
 
96
- <td class="type">
97
-
98
-
99
- <span class="param-type">string</span>
189
+ <td class="type">
190
+
191
+
192
+ <code class="param-type">string</code>
100
193
 
101
194
 
102
-
103
- </td>
195
+
196
+ </td>
104
197
 
105
-
198
+
106
199
 
107
-
200
+
108
201
 
109
- <td class="description last"><p>Error message</p></td>
110
- </tr>
202
+ <td class="description last"><p>Error message</p></td>
203
+ </tr>
111
204
 
112
-
113
205
 
114
- <tr>
115
-
116
- <td class="name"><code>context</code></td>
117
-
206
+
118
207
 
119
- <td class="type">
120
208
 
121
-
122
- <span class="param-type">object</span>
209
+ <tr class="deep-level-0">
210
+
211
+ <td class="name"><code>context</code></td>
212
+
123
213
 
214
+ <td class="type">
215
+
216
+
217
+ <code class="param-type">object</code>
124
218
 
125
-
126
- </td>
127
219
 
128
-
220
+
221
+ </td>
129
222
 
130
-
223
+
131
224
 
132
- <td class="description last"><p>Additional context information (optional)</p></td>
133
- </tr>
225
+
226
+
227
+ <td class="description last"><p>Additional context information (optional)</p></td>
228
+ </tr>
134
229
 
135
-
136
- </tbody>
137
- </table>
138
230
 
231
+
232
+ </tbody>
233
+ </table>
234
+ </div>
139
235
 
140
236
 
141
237
 
@@ -166,18 +262,19 @@ Thrown when browser API operations fail</p></div>
166
262
 
167
263
 
168
264
 
169
-
170
-
171
- <dt class="tag-source">Source:</dt>
172
- <dd class="tag-source"><ul class="dummy"><li>
173
- <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line266">line 266</a>
174
- </li></ul></dd>
175
265
 
176
266
 
177
267
 
178
268
 
179
269
 
180
270
 
271
+
272
+ <p class="tag-source">
273
+ <a href="src_util_errors.js.html" class="button">View Source</a>
274
+ <span>
275
+ <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line274">line 274</a>
276
+ </span>
277
+ </p>
181
278
 
182
279
  </dl>
183
280
 
@@ -200,11 +297,15 @@ Thrown when browser API operations fail</p></div>
200
297
 
201
298
 
202
299
 
300
+
301
+
302
+ </div>
303
+ </div>
304
+ </div>
305
+
203
306
 
204
307
  </div>
205
-
206
308
 
207
-
208
309
 
209
310
 
210
311
 
@@ -218,25 +319,38 @@ Thrown when browser API operations fail</p></div>
218
319
 
219
320
 
220
321
 
221
- <h3 class="subsection-title">Methods</h3>
222
322
 
223
-
323
+
324
+ <div class='vertical-section'>
325
+ <h1>Methods</h1>
326
+ <div class="members">
224
327
 
328
+ <div class="member">
225
329
 
226
-
227
330
 
228
331
 
229
- <h4 class="name" id=".fileReaderNotAvailable"><span class="type-signature">(static) </span>fileReaderNotAvailable<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="BrowserApiError.html">BrowserApiError</a>}</span></h4>
332
+ <h4 class="name" id=".fileReaderNotAvailable">
333
+ <a class="href-link" href="#.fileReaderNotAvailable">#</a>
334
+
335
+
336
+ <span class='tag'>static</span>
337
+
338
+
339
+ <span class="code-name">
340
+
341
+ fileReaderNotAvailable<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="BrowserApiError.html">BrowserApiError</a>}</span>
342
+
343
+ </span>
344
+ </h4>
230
345
 
231
346
 
232
347
 
233
-
234
-
235
-
236
- <div class="description">
237
- <p>Create error for unavailable FileReader API
348
+
349
+ <div class="description">
350
+ <p>Create error for unavailable FileReader API
238
351
  Occurs when browser doesn't support FileReader</p>
239
- </div>
352
+ </div>
353
+
240
354
 
241
355
 
242
356
 
@@ -275,18 +389,19 @@ Occurs when browser doesn't support FileReader</p>
275
389
 
276
390
 
277
391
 
278
-
279
-
280
- <dt class="tag-source">Source:</dt>
281
- <dd class="tag-source"><ul class="dummy"><li>
282
- <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line283">line 283</a>
283
- </li></ul></dd>
284
392
 
285
393
 
286
394
 
287
395
 
288
396
 
289
397
 
398
+
399
+ <p class="tag-source">
400
+ <a href="src_util_errors.js.html" class="button">View Source</a>
401
+ <span>
402
+ <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line291">line 291</a>
403
+ </span>
404
+ </p>
290
405
 
291
406
  </dl>
292
407
 
@@ -304,50 +419,65 @@ Occurs when browser doesn't support FileReader</p>
304
419
 
305
420
 
306
421
 
307
- <h5>Returns:</h5>
308
422
 
309
-
310
- <div class="param-desc">
311
- <p>Configured error instance</p>
312
- </div>
313
423
 
314
424
 
425
+ <div class='columns method-parameter'>
426
+ <div class="column is-2"><label>Returns:</label></div>
427
+ <div class="column is-10">
428
+
429
+
315
430
 
316
- <dl>
317
- <dt>
318
- Type
319
- </dt>
320
- <dd>
431
+ <div class="columns">
432
+
433
+ <div class='param-desc column is-7'><p>Configured error instance</p></div>
434
+
435
+
436
+ <div class='column is-5 has-text-left'>
437
+ <label>Type: </label>
321
438
 
322
- <span class="param-type"><a href="BrowserApiError.html">BrowserApiError</a></span>
439
+ <code class="param-type"><a href="BrowserApiError.html">BrowserApiError</a></code>
323
440
 
324
441
 
325
- </dd>
326
- </dl>
327
-
442
+ </div>
328
443
 
444
+ </div>
329
445
 
446
+
447
+ </div>
448
+ </div>
330
449
 
331
450
 
332
451
 
333
452
 
334
-
453
+ </div>
335
454
 
455
+ <div class="member">
336
456
 
337
-
338
457
 
339
458
 
340
- <h4 class="name" id=".parseFileError"><span class="type-signature">(static) </span>parseFileError<span class="signature">(originalError)</span><span class="type-signature"> &rarr; {<a href="BrowserApiError.html">BrowserApiError</a>}</span></h4>
459
+ <h4 class="name" id=".parseFileError">
460
+ <a class="href-link" href="#.parseFileError">#</a>
461
+
462
+
463
+ <span class='tag'>static</span>
464
+
465
+
466
+ <span class="code-name">
467
+
468
+ parseFileError<span class="signature">(originalError)</span><span class="type-signature"> &rarr; {<a href="BrowserApiError.html">BrowserApiError</a>}</span>
469
+
470
+ </span>
471
+ </h4>
341
472
 
342
473
 
343
474
 
344
-
345
-
346
-
347
- <div class="description">
348
- <p>Create error for file parsing failure in browser
475
+
476
+ <div class="description">
477
+ <p>Create error for file parsing failure in browser
349
478
  Occurs when file read or CSV parse fails</p>
350
- </div>
479
+ </div>
480
+
351
481
 
352
482
 
353
483
 
@@ -359,52 +489,54 @@ Occurs when file read or CSV parse fails</p>
359
489
 
360
490
  <h5>Parameters:</h5>
361
491
 
492
+ <div class="table-container">
493
+ <table class="params table">
494
+ <thead>
495
+ <tr>
496
+
497
+ <th>Name</th>
498
+
362
499
 
363
- <table class="params">
364
- <thead>
365
- <tr>
366
-
367
- <th>Name</th>
368
-
369
-
370
- <th>Type</th>
500
+ <th>Type</th>
371
501
 
372
-
502
+
373
503
 
374
-
504
+
375
505
 
376
- <th class="last">Description</th>
377
- </tr>
378
- </thead>
506
+ <th class="last">Description</th>
507
+ </tr>
508
+ </thead>
379
509
 
380
- <tbody>
381
-
510
+ <tbody>
511
+
382
512
 
383
- <tr>
384
-
385
- <td class="name"><code>originalError</code></td>
386
513
 
514
+ <tr class="deep-level-0">
515
+
516
+ <td class="name"><code>originalError</code></td>
517
+
387
518
 
388
- <td class="type">
389
-
390
-
391
- <span class="param-type">Error</span>
519
+ <td class="type">
520
+
521
+
522
+ <code class="param-type">Error</code>
392
523
 
393
524
 
394
-
395
- </td>
525
+
526
+ </td>
396
527
 
397
-
528
+
398
529
 
399
-
530
+
400
531
 
401
- <td class="description last"><p>The underlying error that occurred</p></td>
402
- </tr>
532
+ <td class="description last"><p>The underlying error that occurred</p></td>
533
+ </tr>
403
534
 
404
-
405
- </tbody>
406
- </table>
407
535
 
536
+
537
+ </tbody>
538
+ </table>
539
+ </div>
408
540
 
409
541
 
410
542
 
@@ -435,18 +567,19 @@ Occurs when file read or CSV parse fails</p>
435
567
 
436
568
 
437
569
 
438
-
439
-
440
- <dt class="tag-source">Source:</dt>
441
- <dd class="tag-source"><ul class="dummy"><li>
442
- <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line301">line 301</a>
443
- </li></ul></dd>
444
570
 
445
571
 
446
572
 
447
573
 
448
574
 
449
575
 
576
+
577
+ <p class="tag-source">
578
+ <a href="src_util_errors.js.html" class="button">View Source</a>
579
+ <span>
580
+ <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line309">line 309</a>
581
+ </span>
582
+ </p>
450
583
 
451
584
  </dl>
452
585
 
@@ -464,34 +597,41 @@ Occurs when file read or CSV parse fails</p>
464
597
 
465
598
 
466
599
 
467
- <h5>Returns:</h5>
468
600
 
469
-
470
- <div class="param-desc">
471
- <p>Configured error instance</p>
472
- </div>
473
601
 
474
602
 
603
+ <div class='columns method-parameter'>
604
+ <div class="column is-2"><label>Returns:</label></div>
605
+ <div class="column is-10">
606
+
607
+
475
608
 
476
- <dl>
477
- <dt>
478
- Type
479
- </dt>
480
- <dd>
609
+ <div class="columns">
610
+
611
+ <div class='param-desc column is-7'><p>Configured error instance</p></div>
612
+
613
+
614
+ <div class='column is-5 has-text-left'>
615
+ <label>Type: </label>
481
616
 
482
- <span class="param-type"><a href="BrowserApiError.html">BrowserApiError</a></span>
617
+ <code class="param-type"><a href="BrowserApiError.html">BrowserApiError</a></code>
483
618
 
484
619
 
485
- </dd>
486
- </dl>
487
-
620
+ </div>
488
621
 
622
+ </div>
489
623
 
624
+
625
+ </div>
626
+ </div>
490
627
 
491
628
 
492
629
 
493
630
 
494
-
631
+ </div>
632
+
633
+ </div>
634
+ </div>
495
635
 
496
636
 
497
637
 
@@ -504,19 +644,26 @@ Occurs when file read or CSV parse fails</p>
504
644
 
505
645
 
506
646
 
507
- </div>
508
-
509
- <nav>
510
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BrowserApi.html">BrowserApi</a></li><li><a href="BrowserApiError.html">BrowserApiError</a></li><li><a href="ConfigurationError.html">ConfigurationError</a></li><li><a href="CsvFormatError.html">CsvFormatError</a></li><li><a href="CsvParsingError.html">CsvParsingError</a></li><li><a href="CsvToJson.html">CsvToJson</a></li><li><a href="CsvToJsonAsync.html">CsvToJsonAsync</a></li><li><a href="FileOperationError.html">FileOperationError</a></li><li><a href="FileUtils.html">FileUtils</a></li><li><a href="InputValidationError.html">InputValidationError</a></li><li><a href="JsonUtil.html">JsonUtil</a></li><li><a href="JsonValidationError.html">JsonValidationError</a></li></ul><h3>Global</h3><ul><li><a href="global.html#asciiEncoding">asciiEncoding</a></li><li><a href="global.html#base64Encoding">base64Encoding</a></li><li><a href="global.html#browser">browser</a></li><li><a href="global.html#csvStringToJson">csvStringToJson</a></li><li><a href="global.html#csvStringToJsonStringified">csvStringToJsonStringified</a></li><li><a href="global.html#csvToJsonAsync">csvToJsonAsync</a></li><li><a href="global.html#customEncoding">customEncoding</a></li><li><a href="global.html#fieldDelimiter">fieldDelimiter</a></li><li><a href="global.html#formatValueByType">formatValueByType</a></li><li><a href="global.html#generateJsonFileFromCsv">generateJsonFileFromCsv</a></li><li><a href="global.html#getJsonFromCsv">getJsonFromCsv</a></li><li><a href="global.html#hexEncoding">hexEncoding</a></li><li><a href="global.html#indexHeader">indexHeader</a></li><li><a href="global.html#latin1Encoding">latin1Encoding</a></li><li><a href="global.html#mapRows">mapRows</a></li><li><a href="global.html#parseSubArray">parseSubArray</a></li><li><a href="global.html#supportQuotedField">supportQuotedField</a></li><li><a href="global.html#trimHeaderFieldWhiteSpace">trimHeaderFieldWhiteSpace</a></li><li><a href="global.html#ucs2Encoding">ucs2Encoding</a></li><li><a href="global.html#utf16leEncoding">utf16leEncoding</a></li><li><a href="global.html#utf8Encoding">utf8Encoding</a></li></ul>
511
- </nav>
512
-
513
- <br class="clear">
647
+ </div>
648
+
649
+ <footer class="footer">
650
+ <div class="content has-text-centered">
651
+ <p>Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a></p>
652
+ <p class="sidebar-created-by">
653
+ <a href="https://github.com/SoftwareBrothers/better-docs" target="_blank">BetterDocs theme</a> provided with <i class="fas fa-heart"></i> by
654
+ <a href="http://softwarebrothers.co" target="_blank">SoftwareBrothers - JavaScript Development Agency</a>
655
+ </p>
656
+ </div>
657
+ </footer>
658
+
659
+ </div>
660
+ <div id="side-nav" class="side-nav">
661
+ </div>
662
+ </div>
663
+ <script src="scripts/app.min.js"></script>
664
+ <script>PR.prettyPrint();</script>
665
+ <script src="scripts/linenumber.js"> </script>
514
666
 
515
- <footer>
516
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 16:08:52 GMT+0000 (Coordinated Universal Time)
517
- </footer>
518
667
 
519
- <script> prettyPrint(); </script>
520
- <script src="scripts/linenumber.js"> </script>
521
668
  </body>
522
669
  </html>