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/api/BrowserApi.html
DELETED
|
@@ -1,2662 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
|
|
6
|
-
<meta charset="utf-8">
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
-
<title> BrowserApi</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
|
-
|
|
26
|
-
</head>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
<body class="layout small-header">
|
|
31
|
-
<div id="stickyNavbarOverlay"></div>
|
|
32
|
-
|
|
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>BrowserApi</h1>
|
|
102
|
-
</header>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<section>
|
|
109
|
-
|
|
110
|
-
<header>
|
|
111
|
-
|
|
112
|
-
<h2><span class="attribs"><span class="type-signature"></span></span>BrowserApi<span class="signature">()</span><span class="type-signature"></span></h2>
|
|
113
|
-
|
|
114
|
-
<div class="class-description"><p>Browser-friendly CSV to JSON API
|
|
115
|
-
Provides methods for parsing CSV strings and File/Blob objects in browser environments
|
|
116
|
-
Proxies configuration to sync csvToJson instance</p></div>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
</header>
|
|
120
|
-
|
|
121
|
-
<article>
|
|
122
|
-
<div class="container-overview">
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
<div class='vertical-section'>
|
|
126
|
-
<div class="members">
|
|
127
|
-
<div class="member">
|
|
128
|
-
<div class=name>
|
|
129
|
-
<span class="tag">Constructor</span>
|
|
130
|
-
</div>
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
<h4 class="name" id="BrowserApi">
|
|
136
|
-
<a class="href-link" href="#BrowserApi">#</a>
|
|
137
|
-
|
|
138
|
-
<span class="code-name">
|
|
139
|
-
|
|
140
|
-
new BrowserApi<span class="signature">()</span><span class="type-signature"></span>
|
|
141
|
-
|
|
142
|
-
</span>
|
|
143
|
-
</h4>
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
<div class="description">
|
|
149
|
-
<p>Constructor initializes proxy to sync csvToJson instance</p>
|
|
150
|
-
</div>
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
<dl class="details">
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
<p class="tag-source">
|
|
198
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
199
|
-
<span>
|
|
200
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line14">line 14</a>
|
|
201
|
-
</span>
|
|
202
|
-
</p>
|
|
203
|
-
|
|
204
|
-
</dl>
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
</div>
|
|
228
|
-
</div>
|
|
229
|
-
</div>
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
</div>
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
<div class='vertical-section'>
|
|
250
|
-
<h1>Methods</h1>
|
|
251
|
-
<div class="members">
|
|
252
|
-
|
|
253
|
-
<div class="member">
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
<h4 class="name" id="csvStringToJson">
|
|
258
|
-
<a class="href-link" href="#csvStringToJson">#</a>
|
|
259
|
-
|
|
260
|
-
<span class="code-name">
|
|
261
|
-
|
|
262
|
-
csvStringToJson<span class="signature">(csvString)</span><span class="type-signature"> → {Array.<object>}</span>
|
|
263
|
-
|
|
264
|
-
</span>
|
|
265
|
-
</h4>
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
<div class="description">
|
|
271
|
-
<p>Parse a CSV string and return as JSON array of objects</p>
|
|
272
|
-
</div>
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
<h5>Parameters:</h5>
|
|
284
|
-
|
|
285
|
-
<div class="table-container">
|
|
286
|
-
<table class="params table">
|
|
287
|
-
<thead>
|
|
288
|
-
<tr>
|
|
289
|
-
|
|
290
|
-
<th>Name</th>
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
<th>Type</th>
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
<th class="last">Description</th>
|
|
300
|
-
</tr>
|
|
301
|
-
</thead>
|
|
302
|
-
|
|
303
|
-
<tbody>
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
<tr class="deep-level-0">
|
|
308
|
-
|
|
309
|
-
<td class="name"><code>csvString</code></td>
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
<td class="type">
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
<code class="param-type">string</code>
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
</td>
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
<td class="description last"><p>CSV content as string</p></td>
|
|
326
|
-
</tr>
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
</tbody>
|
|
331
|
-
</table>
|
|
332
|
-
</div>
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
<dl class="details">
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
<p class="tag-source">
|
|
371
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
372
|
-
<span>
|
|
373
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line105">line 105</a>
|
|
374
|
-
</span>
|
|
375
|
-
</p>
|
|
376
|
-
|
|
377
|
-
</dl>
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
<div class='columns method-parameter'>
|
|
395
|
-
<div class="column is-2"><label>Throws:</label></div>
|
|
396
|
-
<div class="column is-10">
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
<div class="columns">
|
|
400
|
-
|
|
401
|
-
<div class='param-desc column is-7'><p>If csvString is invalid</p></div>
|
|
402
|
-
<div class='column is-5 has-text-left'>
|
|
403
|
-
<label>Type: </label>
|
|
404
|
-
<code class="param-type"><a href="InputValidationError.html">InputValidationError</a></code>
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
</div>
|
|
408
|
-
|
|
409
|
-
</div>
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
<div class="columns">
|
|
414
|
-
|
|
415
|
-
<div class='param-desc column is-7'><p>If CSV is malformed</p></div>
|
|
416
|
-
<div class='column is-5 has-text-left'>
|
|
417
|
-
<label>Type: </label>
|
|
418
|
-
<code class="param-type"><a href="CsvFormatError.html">CsvFormatError</a></code>
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
</div>
|
|
422
|
-
|
|
423
|
-
</div>
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
</div>
|
|
427
|
-
</div>
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
<div class='columns method-parameter'>
|
|
432
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
433
|
-
<div class="column is-10">
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
<div class="columns">
|
|
438
|
-
|
|
439
|
-
<div class='param-desc column is-7'><p>Array of objects representing CSV rows</p></div>
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
<div class='column is-5 has-text-left'>
|
|
443
|
-
<label>Type: </label>
|
|
444
|
-
|
|
445
|
-
<code class="param-type">Array.<object></code>
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
</div>
|
|
449
|
-
|
|
450
|
-
</div>
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
</div>
|
|
454
|
-
</div>
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
<h5>Example</h5>
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
<pre class="prettyprint"><code>const csvToJson = require('convert-csv-to-json');
|
|
463
|
-
const rows = csvToJson.browser.csvStringToJson('name,age\nAlice,30');
|
|
464
|
-
console.log(rows); // [{ name: 'Alice', age: '30' }]</code></pre>
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
</div>
|
|
469
|
-
|
|
470
|
-
<div class="member">
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
<h4 class="name" id="csvStringToJsonAsync">
|
|
475
|
-
<a class="href-link" href="#csvStringToJsonAsync">#</a>
|
|
476
|
-
|
|
477
|
-
<span class="code-name">
|
|
478
|
-
|
|
479
|
-
csvStringToJsonAsync<span class="signature">(csvString)</span><span class="type-signature"> → {Promise.<Array.<object>>}</span>
|
|
480
|
-
|
|
481
|
-
</span>
|
|
482
|
-
</h4>
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
<div class="description">
|
|
488
|
-
<p>Parse a CSV string asynchronously (returns resolved Promise)</p>
|
|
489
|
-
</div>
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
<h5>Parameters:</h5>
|
|
501
|
-
|
|
502
|
-
<div class="table-container">
|
|
503
|
-
<table class="params table">
|
|
504
|
-
<thead>
|
|
505
|
-
<tr>
|
|
506
|
-
|
|
507
|
-
<th>Name</th>
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
<th>Type</th>
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
<th class="last">Description</th>
|
|
517
|
-
</tr>
|
|
518
|
-
</thead>
|
|
519
|
-
|
|
520
|
-
<tbody>
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
<tr class="deep-level-0">
|
|
525
|
-
|
|
526
|
-
<td class="name"><code>csvString</code></td>
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
<td class="type">
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
<code class="param-type">string</code>
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
</td>
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
<td class="description last"><p>CSV content as string</p></td>
|
|
543
|
-
</tr>
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
</tbody>
|
|
548
|
-
</table>
|
|
549
|
-
</div>
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
<dl class="details">
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
<p class="tag-source">
|
|
588
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
589
|
-
<span>
|
|
590
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line151">line 151</a>
|
|
591
|
-
</span>
|
|
592
|
-
</p>
|
|
593
|
-
|
|
594
|
-
</dl>
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
<div class='columns method-parameter'>
|
|
612
|
-
<div class="column is-2"><label>Throws:</label></div>
|
|
613
|
-
<div class="column is-10">
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
<div class="columns">
|
|
617
|
-
|
|
618
|
-
<div class='param-desc column is-7'><p>If csvString is invalid</p></div>
|
|
619
|
-
<div class='column is-5 has-text-left'>
|
|
620
|
-
<label>Type: </label>
|
|
621
|
-
<code class="param-type"><a href="InputValidationError.html">InputValidationError</a></code>
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
</div>
|
|
625
|
-
|
|
626
|
-
</div>
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
<div class="columns">
|
|
631
|
-
|
|
632
|
-
<div class='param-desc column is-7'><p>If CSV is malformed</p></div>
|
|
633
|
-
<div class='column is-5 has-text-left'>
|
|
634
|
-
<label>Type: </label>
|
|
635
|
-
<code class="param-type"><a href="CsvFormatError.html">CsvFormatError</a></code>
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
</div>
|
|
639
|
-
|
|
640
|
-
</div>
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
</div>
|
|
644
|
-
</div>
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
<div class='columns method-parameter'>
|
|
649
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
650
|
-
<div class="column is-10">
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
<div class="columns">
|
|
655
|
-
|
|
656
|
-
<div class='param-desc column is-7'><p>Promise resolving to array of objects</p></div>
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
<div class='column is-5 has-text-left'>
|
|
660
|
-
<label>Type: </label>
|
|
661
|
-
|
|
662
|
-
<code class="param-type">Promise.<Array.<object>></code>
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
</div>
|
|
666
|
-
|
|
667
|
-
</div>
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
</div>
|
|
671
|
-
</div>
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
<h5>Example</h5>
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
<pre class="prettyprint"><code>const csvToJson = require('convert-csv-to-json');
|
|
680
|
-
const rows = await csvToJson.browser.csvStringToJsonAsync('name,age\nAlice,30');
|
|
681
|
-
console.log(rows);</code></pre>
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
</div>
|
|
686
|
-
|
|
687
|
-
<div class="member">
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
<h4 class="name" id="csvStringToJsonStringified">
|
|
692
|
-
<a class="href-link" href="#csvStringToJsonStringified">#</a>
|
|
693
|
-
|
|
694
|
-
<span class="code-name">
|
|
695
|
-
|
|
696
|
-
csvStringToJsonStringified<span class="signature">(csvString)</span><span class="type-signature"> → {string}</span>
|
|
697
|
-
|
|
698
|
-
</span>
|
|
699
|
-
</h4>
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
<div class="description">
|
|
705
|
-
<p>Parse a CSV string and return as stringified JSON</p>
|
|
706
|
-
</div>
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
<h5>Parameters:</h5>
|
|
718
|
-
|
|
719
|
-
<div class="table-container">
|
|
720
|
-
<table class="params table">
|
|
721
|
-
<thead>
|
|
722
|
-
<tr>
|
|
723
|
-
|
|
724
|
-
<th>Name</th>
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
<th>Type</th>
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
<th class="last">Description</th>
|
|
734
|
-
</tr>
|
|
735
|
-
</thead>
|
|
736
|
-
|
|
737
|
-
<tbody>
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
<tr class="deep-level-0">
|
|
742
|
-
|
|
743
|
-
<td class="name"><code>csvString</code></td>
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
<td class="type">
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
<code class="param-type">string</code>
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
</td>
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
<td class="description last"><p>CSV content as string</p></td>
|
|
760
|
-
</tr>
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
</tbody>
|
|
765
|
-
</table>
|
|
766
|
-
</div>
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
<dl class="details">
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
<p class="tag-source">
|
|
805
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
806
|
-
<span>
|
|
807
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line128">line 128</a>
|
|
808
|
-
</span>
|
|
809
|
-
</p>
|
|
810
|
-
|
|
811
|
-
</dl>
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
<div class='columns method-parameter'>
|
|
829
|
-
<div class="column is-2"><label>Throws:</label></div>
|
|
830
|
-
<div class="column is-10">
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
<div class="columns">
|
|
834
|
-
|
|
835
|
-
<div class='param-desc column is-7'><p>If csvString is invalid</p></div>
|
|
836
|
-
<div class='column is-5 has-text-left'>
|
|
837
|
-
<label>Type: </label>
|
|
838
|
-
<code class="param-type"><a href="InputValidationError.html">InputValidationError</a></code>
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
</div>
|
|
842
|
-
|
|
843
|
-
</div>
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
<div class="columns">
|
|
848
|
-
|
|
849
|
-
<div class='param-desc column is-7'><p>If CSV is malformed</p></div>
|
|
850
|
-
<div class='column is-5 has-text-left'>
|
|
851
|
-
<label>Type: </label>
|
|
852
|
-
<code class="param-type"><a href="CsvFormatError.html">CsvFormatError</a></code>
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
</div>
|
|
856
|
-
|
|
857
|
-
</div>
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
</div>
|
|
861
|
-
</div>
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
<div class='columns method-parameter'>
|
|
866
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
867
|
-
<div class="column is-10">
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
<div class="columns">
|
|
872
|
-
|
|
873
|
-
<div class='param-desc column is-7'><p>JSON stringified array of objects</p></div>
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
<div class='column is-5 has-text-left'>
|
|
877
|
-
<label>Type: </label>
|
|
878
|
-
|
|
879
|
-
<code class="param-type">string</code>
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
</div>
|
|
883
|
-
|
|
884
|
-
</div>
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
</div>
|
|
888
|
-
</div>
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
<h5>Example</h5>
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
<pre class="prettyprint"><code>const csvToJson = require('convert-csv-to-json');
|
|
897
|
-
const jsonString = csvToJson.browser.csvStringToJsonStringified('name,age\nAlice,30');
|
|
898
|
-
console.log(jsonString);</code></pre>
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
</div>
|
|
903
|
-
|
|
904
|
-
<div class="member">
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
<h4 class="name" id="csvStringToJsonStringifiedAsync">
|
|
909
|
-
<a class="href-link" href="#csvStringToJsonStringifiedAsync">#</a>
|
|
910
|
-
|
|
911
|
-
<span class="code-name">
|
|
912
|
-
|
|
913
|
-
csvStringToJsonStringifiedAsync<span class="signature">(csvString)</span><span class="type-signature"> → {Promise.<string>}</span>
|
|
914
|
-
|
|
915
|
-
</span>
|
|
916
|
-
</h4>
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
<div class="description">
|
|
922
|
-
<p>Parse a CSV string asynchronously and return as stringified JSON</p>
|
|
923
|
-
</div>
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
<h5>Parameters:</h5>
|
|
935
|
-
|
|
936
|
-
<div class="table-container">
|
|
937
|
-
<table class="params table">
|
|
938
|
-
<thead>
|
|
939
|
-
<tr>
|
|
940
|
-
|
|
941
|
-
<th>Name</th>
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
<th>Type</th>
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
<th class="last">Description</th>
|
|
951
|
-
</tr>
|
|
952
|
-
</thead>
|
|
953
|
-
|
|
954
|
-
<tbody>
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
<tr class="deep-level-0">
|
|
959
|
-
|
|
960
|
-
<td class="name"><code>csvString</code></td>
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
<td class="type">
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
<code class="param-type">string</code>
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
</td>
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
<td class="description last"><p>CSV content as string</p></td>
|
|
977
|
-
</tr>
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
</tbody>
|
|
982
|
-
</table>
|
|
983
|
-
</div>
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
<dl class="details">
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
<p class="tag-source">
|
|
1022
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
1023
|
-
<span>
|
|
1024
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line166">line 166</a>
|
|
1025
|
-
</span>
|
|
1026
|
-
</p>
|
|
1027
|
-
|
|
1028
|
-
</dl>
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
<div class='columns method-parameter'>
|
|
1046
|
-
<div class="column is-2"><label>Throws:</label></div>
|
|
1047
|
-
<div class="column is-10">
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
<div class="columns">
|
|
1051
|
-
|
|
1052
|
-
<div class='param-desc column is-7'><p>If csvString is invalid</p></div>
|
|
1053
|
-
<div class='column is-5 has-text-left'>
|
|
1054
|
-
<label>Type: </label>
|
|
1055
|
-
<code class="param-type"><a href="InputValidationError.html">InputValidationError</a></code>
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
</div>
|
|
1059
|
-
|
|
1060
|
-
</div>
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
<div class="columns">
|
|
1065
|
-
|
|
1066
|
-
<div class='param-desc column is-7'><p>If CSV is malformed</p></div>
|
|
1067
|
-
<div class='column is-5 has-text-left'>
|
|
1068
|
-
<label>Type: </label>
|
|
1069
|
-
<code class="param-type"><a href="CsvFormatError.html">CsvFormatError</a></code>
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
</div>
|
|
1073
|
-
|
|
1074
|
-
</div>
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
</div>
|
|
1078
|
-
</div>
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
<div class='columns method-parameter'>
|
|
1083
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
1084
|
-
<div class="column is-10">
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
<div class="columns">
|
|
1089
|
-
|
|
1090
|
-
<div class='param-desc column is-7'><p>Promise resolving to JSON stringified array</p></div>
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
<div class='column is-5 has-text-left'>
|
|
1094
|
-
<label>Type: </label>
|
|
1095
|
-
|
|
1096
|
-
<code class="param-type">Promise.<string></code>
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
</div>
|
|
1100
|
-
|
|
1101
|
-
</div>
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
</div>
|
|
1105
|
-
</div>
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
<h5>Example</h5>
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
<pre class="prettyprint"><code>const csvToJson = require('convert-csv-to-json');
|
|
1114
|
-
const json = await csvToJson.browser.csvStringToJsonStringifiedAsync('name,age\nAlice,30');
|
|
1115
|
-
console.log(json);</code></pre>
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
</div>
|
|
1120
|
-
|
|
1121
|
-
<div class="member">
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
<h4 class="name" id="fieldDelimiter">
|
|
1126
|
-
<a class="href-link" href="#fieldDelimiter">#</a>
|
|
1127
|
-
|
|
1128
|
-
<span class="code-name">
|
|
1129
|
-
|
|
1130
|
-
fieldDelimiter<span class="signature">(delimiter)</span><span class="type-signature"> → {this}</span>
|
|
1131
|
-
|
|
1132
|
-
</span>
|
|
1133
|
-
</h4>
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
<div class="description">
|
|
1139
|
-
<p>Set the field delimiter character</p>
|
|
1140
|
-
</div>
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
<h5>Parameters:</h5>
|
|
1152
|
-
|
|
1153
|
-
<div class="table-container">
|
|
1154
|
-
<table class="params table">
|
|
1155
|
-
<thead>
|
|
1156
|
-
<tr>
|
|
1157
|
-
|
|
1158
|
-
<th>Name</th>
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
<th>Type</th>
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
<th class="last">Description</th>
|
|
1168
|
-
</tr>
|
|
1169
|
-
</thead>
|
|
1170
|
-
|
|
1171
|
-
<tbody>
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
<tr class="deep-level-0">
|
|
1176
|
-
|
|
1177
|
-
<td class="name"><code>delimiter</code></td>
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
<td class="type">
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
<code class="param-type">string</code>
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
</td>
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
<td class="description last"><p>Character(s) to use as field separator</p></td>
|
|
1194
|
-
</tr>
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
</tbody>
|
|
1199
|
-
</table>
|
|
1200
|
-
</div>
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
<dl class="details">
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
<p class="tag-source">
|
|
1239
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
1240
|
-
<span>
|
|
1241
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line48">line 48</a>
|
|
1242
|
-
</span>
|
|
1243
|
-
</p>
|
|
1244
|
-
|
|
1245
|
-
</dl>
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
<div class='columns method-parameter'>
|
|
1265
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
1266
|
-
<div class="column is-10">
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
<div class="columns">
|
|
1271
|
-
|
|
1272
|
-
<div class='param-desc column is-7'><p>For method chaining</p></div>
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
<div class='column is-5 has-text-left'>
|
|
1276
|
-
<label>Type: </label>
|
|
1277
|
-
|
|
1278
|
-
<code class="param-type">this</code>
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
</div>
|
|
1282
|
-
|
|
1283
|
-
</div>
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
</div>
|
|
1287
|
-
</div>
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
</div>
|
|
1293
|
-
|
|
1294
|
-
<div class="member">
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
<h4 class="name" id="formatValueByType">
|
|
1299
|
-
<a class="href-link" href="#formatValueByType">#</a>
|
|
1300
|
-
|
|
1301
|
-
<span class="code-name">
|
|
1302
|
-
|
|
1303
|
-
formatValueByType<span class="signature">(active)</span><span class="type-signature"> → {this}</span>
|
|
1304
|
-
|
|
1305
|
-
</span>
|
|
1306
|
-
</h4>
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
<div class="description">
|
|
1312
|
-
<p>Enable or disable automatic type formatting for values</p>
|
|
1313
|
-
</div>
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
<h5>Parameters:</h5>
|
|
1325
|
-
|
|
1326
|
-
<div class="table-container">
|
|
1327
|
-
<table class="params table">
|
|
1328
|
-
<thead>
|
|
1329
|
-
<tr>
|
|
1330
|
-
|
|
1331
|
-
<th>Name</th>
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
<th>Type</th>
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
<th>Default</th>
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
<th class="last">Description</th>
|
|
1343
|
-
</tr>
|
|
1344
|
-
</thead>
|
|
1345
|
-
|
|
1346
|
-
<tbody>
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
<tr class="deep-level-0">
|
|
1351
|
-
|
|
1352
|
-
<td class="name"><code>active</code></td>
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
<td class="type">
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
<code class="param-type">boolean</code>
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
</td>
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
<td class="default">
|
|
1368
|
-
|
|
1369
|
-
true
|
|
1370
|
-
|
|
1371
|
-
</td>
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
<td class="description last"><p>Whether to format values by type (default: true)</p></td>
|
|
1375
|
-
</tr>
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
</tbody>
|
|
1380
|
-
</table>
|
|
1381
|
-
</div>
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
<dl class="details">
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
<p class="tag-source">
|
|
1420
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
1421
|
-
<span>
|
|
1422
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line28">line 28</a>
|
|
1423
|
-
</span>
|
|
1424
|
-
</p>
|
|
1425
|
-
|
|
1426
|
-
</dl>
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
<div class='columns method-parameter'>
|
|
1446
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
1447
|
-
<div class="column is-10">
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
<div class="columns">
|
|
1452
|
-
|
|
1453
|
-
<div class='param-desc column is-7'><p>For method chaining</p></div>
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
<div class='column is-5 has-text-left'>
|
|
1457
|
-
<label>Type: </label>
|
|
1458
|
-
|
|
1459
|
-
<code class="param-type">this</code>
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
</div>
|
|
1463
|
-
|
|
1464
|
-
</div>
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
</div>
|
|
1468
|
-
</div>
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
</div>
|
|
1474
|
-
|
|
1475
|
-
<div class="member">
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
<h4 class="name" id="indexHeader">
|
|
1480
|
-
<a class="href-link" href="#indexHeader">#</a>
|
|
1481
|
-
|
|
1482
|
-
<span class="code-name">
|
|
1483
|
-
|
|
1484
|
-
indexHeader<span class="signature">(index)</span><span class="type-signature"> → {this}</span>
|
|
1485
|
-
|
|
1486
|
-
</span>
|
|
1487
|
-
</h4>
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
<div class="description">
|
|
1493
|
-
<p>Set the row index where CSV headers are located</p>
|
|
1494
|
-
</div>
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
<h5>Parameters:</h5>
|
|
1506
|
-
|
|
1507
|
-
<div class="table-container">
|
|
1508
|
-
<table class="params table">
|
|
1509
|
-
<thead>
|
|
1510
|
-
<tr>
|
|
1511
|
-
|
|
1512
|
-
<th>Name</th>
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
<th>Type</th>
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
<th class="last">Description</th>
|
|
1522
|
-
</tr>
|
|
1523
|
-
</thead>
|
|
1524
|
-
|
|
1525
|
-
<tbody>
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
<tr class="deep-level-0">
|
|
1530
|
-
|
|
1531
|
-
<td class="name"><code>index</code></td>
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
<td class="type">
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
<code class="param-type">number</code>
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
</td>
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
<td class="description last"><p>Zero-based row index containing headers</p></td>
|
|
1548
|
-
</tr>
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
</tbody>
|
|
1553
|
-
</table>
|
|
1554
|
-
</div>
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
<dl class="details">
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
<p class="tag-source">
|
|
1593
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
1594
|
-
<span>
|
|
1595
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line68">line 68</a>
|
|
1596
|
-
</span>
|
|
1597
|
-
</p>
|
|
1598
|
-
|
|
1599
|
-
</dl>
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
<div class='columns method-parameter'>
|
|
1619
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
1620
|
-
<div class="column is-10">
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
<div class="columns">
|
|
1625
|
-
|
|
1626
|
-
<div class='param-desc column is-7'><p>For method chaining</p></div>
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
<div class='column is-5 has-text-left'>
|
|
1630
|
-
<label>Type: </label>
|
|
1631
|
-
|
|
1632
|
-
<code class="param-type">this</code>
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
</div>
|
|
1636
|
-
|
|
1637
|
-
</div>
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
</div>
|
|
1641
|
-
</div>
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
</div>
|
|
1647
|
-
|
|
1648
|
-
<div class="member">
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
<h4 class="name" id="mapRows">
|
|
1653
|
-
<a class="href-link" href="#mapRows">#</a>
|
|
1654
|
-
|
|
1655
|
-
<span class="code-name">
|
|
1656
|
-
|
|
1657
|
-
mapRows<span class="signature">(mapperFn)</span><span class="type-signature"> → {this}</span>
|
|
1658
|
-
|
|
1659
|
-
</span>
|
|
1660
|
-
</h4>
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
<div class="description">
|
|
1666
|
-
<p>Set a mapper function to transform each row after conversion</p>
|
|
1667
|
-
</div>
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
<h5>Parameters:</h5>
|
|
1679
|
-
|
|
1680
|
-
<div class="table-container">
|
|
1681
|
-
<table class="params table">
|
|
1682
|
-
<thead>
|
|
1683
|
-
<tr>
|
|
1684
|
-
|
|
1685
|
-
<th>Name</th>
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
<th>Type</th>
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
<th class="last">Description</th>
|
|
1695
|
-
</tr>
|
|
1696
|
-
</thead>
|
|
1697
|
-
|
|
1698
|
-
<tbody>
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
<tr class="deep-level-0">
|
|
1703
|
-
|
|
1704
|
-
<td class="name"><code>mapperFn</code></td>
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
<td class="type">
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
<code class="param-type">function</code>
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
</td>
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
<td class="description last"><p>Function receiving (row, index) that returns transformed row or null to filter</p></td>
|
|
1721
|
-
</tr>
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
</tbody>
|
|
1726
|
-
</table>
|
|
1727
|
-
</div>
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
<dl class="details">
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
<p class="tag-source">
|
|
1766
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
1767
|
-
<span>
|
|
1768
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line89">line 89</a>
|
|
1769
|
-
</span>
|
|
1770
|
-
</p>
|
|
1771
|
-
|
|
1772
|
-
</dl>
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
<div class='columns method-parameter'>
|
|
1792
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
1793
|
-
<div class="column is-10">
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
<div class="columns">
|
|
1798
|
-
|
|
1799
|
-
<div class='param-desc column is-7'><p>For method chaining</p></div>
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
<div class='column is-5 has-text-left'>
|
|
1803
|
-
<label>Type: </label>
|
|
1804
|
-
|
|
1805
|
-
<code class="param-type">this</code>
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
</div>
|
|
1809
|
-
|
|
1810
|
-
</div>
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
</div>
|
|
1814
|
-
</div>
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
</div>
|
|
1820
|
-
|
|
1821
|
-
<div class="member">
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
<h4 class="name" id="parseFile">
|
|
1826
|
-
<a class="href-link" href="#parseFile">#</a>
|
|
1827
|
-
|
|
1828
|
-
<span class="code-name">
|
|
1829
|
-
|
|
1830
|
-
parseFile<span class="signature">(file, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<Array.<object>>}</span>
|
|
1831
|
-
|
|
1832
|
-
</span>
|
|
1833
|
-
</h4>
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
<div class="description">
|
|
1839
|
-
<p>Parse a browser File or Blob object to JSON array.</p>
|
|
1840
|
-
</div>
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
<h5>Parameters:</h5>
|
|
1852
|
-
|
|
1853
|
-
<div class="table-container">
|
|
1854
|
-
<table class="params table">
|
|
1855
|
-
<thead>
|
|
1856
|
-
<tr>
|
|
1857
|
-
|
|
1858
|
-
<th>Name</th>
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
<th>Type</th>
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
<th>Attributes</th>
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
<th class="last">Description</th>
|
|
1870
|
-
</tr>
|
|
1871
|
-
</thead>
|
|
1872
|
-
|
|
1873
|
-
<tbody>
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
<tr class="deep-level-0">
|
|
1878
|
-
|
|
1879
|
-
<td class="name"><code>file</code></td>
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
<td class="type">
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
<code class="param-type">File</code>
|
|
1886
|
-
|
|
|
1887
|
-
|
|
1888
|
-
<code class="param-type">Blob</code>
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
</td>
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
<td class="attributes">
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
</td>
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
<td class="description last"><p>File or Blob to read as text</p></td>
|
|
1907
|
-
</tr>
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
<tr class="deep-level-0">
|
|
1914
|
-
|
|
1915
|
-
<td class="name"><code>options</code></td>
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
<td class="type">
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
<code class="param-type">object</code>
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
</td>
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
<td class="attributes">
|
|
1929
|
-
|
|
1930
|
-
<optional><br>
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
</td>
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
<td class="description last"><p>options: { encoding?: string }</p></td>
|
|
1942
|
-
</tr>
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
</tbody>
|
|
1947
|
-
</table>
|
|
1948
|
-
</div>
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
<dl class="details">
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
<p class="tag-source">
|
|
1987
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
1988
|
-
<span>
|
|
1989
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line181">line 181</a>
|
|
1990
|
-
</span>
|
|
1991
|
-
</p>
|
|
1992
|
-
|
|
1993
|
-
</dl>
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
<div class='columns method-parameter'>
|
|
2013
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
2014
|
-
<div class="column is-10">
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
<div class="columns">
|
|
2019
|
-
|
|
2020
|
-
<div class='param-desc column is-7'><p>Promise resolving to parsed JSON rows</p></div>
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
<div class='column is-5 has-text-left'>
|
|
2024
|
-
<label>Type: </label>
|
|
2025
|
-
|
|
2026
|
-
<code class="param-type">Promise.<Array.<object>></code>
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
</div>
|
|
2030
|
-
|
|
2031
|
-
</div>
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
</div>
|
|
2035
|
-
</div>
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
<h5>Example</h5>
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
<pre class="prettyprint"><code>const csvToJson = require('convert-csv-to-json');
|
|
2044
|
-
const fileInput = document.querySelector('#csvfile').files[0];
|
|
2045
|
-
const rows = await csvToJson.browser.parseFile(fileInput);
|
|
2046
|
-
console.log(rows);</code></pre>
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
</div>
|
|
2051
|
-
|
|
2052
|
-
<div class="member">
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
<h4 class="name" id="parseSubArray">
|
|
2057
|
-
<a class="href-link" href="#parseSubArray">#</a>
|
|
2058
|
-
|
|
2059
|
-
<span class="code-name">
|
|
2060
|
-
|
|
2061
|
-
parseSubArray<span class="signature">(delimiter, separator)</span><span class="type-signature"> → {this}</span>
|
|
2062
|
-
|
|
2063
|
-
</span>
|
|
2064
|
-
</h4>
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
<div class="description">
|
|
2070
|
-
<p>Configure sub-array parsing for special field values</p>
|
|
2071
|
-
</div>
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
<h5>Parameters:</h5>
|
|
2083
|
-
|
|
2084
|
-
<div class="table-container">
|
|
2085
|
-
<table class="params table">
|
|
2086
|
-
<thead>
|
|
2087
|
-
<tr>
|
|
2088
|
-
|
|
2089
|
-
<th>Name</th>
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
<th>Type</th>
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
<th>Default</th>
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
<th class="last">Description</th>
|
|
2101
|
-
</tr>
|
|
2102
|
-
</thead>
|
|
2103
|
-
|
|
2104
|
-
<tbody>
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
<tr class="deep-level-0">
|
|
2109
|
-
|
|
2110
|
-
<td class="name"><code>delimiter</code></td>
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
<td class="type">
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
<code class="param-type">string</code>
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
</td>
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
<td class="default">
|
|
2126
|
-
|
|
2127
|
-
*
|
|
2128
|
-
|
|
2129
|
-
</td>
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
<td class="description last"><p>Bracket character (default: '*')</p></td>
|
|
2133
|
-
</tr>
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
<tr class="deep-level-0">
|
|
2140
|
-
|
|
2141
|
-
<td class="name"><code>separator</code></td>
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
<td class="type">
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
<code class="param-type">string</code>
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
</td>
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
<td class="default">
|
|
2157
|
-
|
|
2158
|
-
,
|
|
2159
|
-
|
|
2160
|
-
</td>
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
<td class="description last"><p>Item separator within brackets (default: ',')</p></td>
|
|
2164
|
-
</tr>
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
</tbody>
|
|
2169
|
-
</table>
|
|
2170
|
-
</div>
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
<dl class="details">
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
<p class="tag-source">
|
|
2209
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
2210
|
-
<span>
|
|
2211
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line79">line 79</a>
|
|
2212
|
-
</span>
|
|
2213
|
-
</p>
|
|
2214
|
-
|
|
2215
|
-
</dl>
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
<div class='columns method-parameter'>
|
|
2235
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
2236
|
-
<div class="column is-10">
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
<div class="columns">
|
|
2241
|
-
|
|
2242
|
-
<div class='param-desc column is-7'><p>For method chaining</p></div>
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
<div class='column is-5 has-text-left'>
|
|
2246
|
-
<label>Type: </label>
|
|
2247
|
-
|
|
2248
|
-
<code class="param-type">this</code>
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
</div>
|
|
2252
|
-
|
|
2253
|
-
</div>
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
</div>
|
|
2257
|
-
</div>
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
</div>
|
|
2263
|
-
|
|
2264
|
-
<div class="member">
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
<h4 class="name" id="supportQuotedField">
|
|
2269
|
-
<a class="href-link" href="#supportQuotedField">#</a>
|
|
2270
|
-
|
|
2271
|
-
<span class="code-name">
|
|
2272
|
-
|
|
2273
|
-
supportQuotedField<span class="signature">(active)</span><span class="type-signature"> → {this}</span>
|
|
2274
|
-
|
|
2275
|
-
</span>
|
|
2276
|
-
</h4>
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
<div class="description">
|
|
2282
|
-
<p>Enable or disable support for RFC 4180 quoted fields</p>
|
|
2283
|
-
</div>
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
<h5>Parameters:</h5>
|
|
2295
|
-
|
|
2296
|
-
<div class="table-container">
|
|
2297
|
-
<table class="params table">
|
|
2298
|
-
<thead>
|
|
2299
|
-
<tr>
|
|
2300
|
-
|
|
2301
|
-
<th>Name</th>
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
<th>Type</th>
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
<th>Default</th>
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
<th class="last">Description</th>
|
|
2313
|
-
</tr>
|
|
2314
|
-
</thead>
|
|
2315
|
-
|
|
2316
|
-
<tbody>
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
<tr class="deep-level-0">
|
|
2321
|
-
|
|
2322
|
-
<td class="name"><code>active</code></td>
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
<td class="type">
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
<code class="param-type">boolean</code>
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
</td>
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
<td class="default">
|
|
2338
|
-
|
|
2339
|
-
false
|
|
2340
|
-
|
|
2341
|
-
</td>
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
<td class="description last"><p>Whether to support quoted fields (default: false)</p></td>
|
|
2345
|
-
</tr>
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
</tbody>
|
|
2350
|
-
</table>
|
|
2351
|
-
</div>
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
<dl class="details">
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
<p class="tag-source">
|
|
2390
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
2391
|
-
<span>
|
|
2392
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line38">line 38</a>
|
|
2393
|
-
</span>
|
|
2394
|
-
</p>
|
|
2395
|
-
|
|
2396
|
-
</dl>
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
<div class='columns method-parameter'>
|
|
2416
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
2417
|
-
<div class="column is-10">
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
<div class="columns">
|
|
2422
|
-
|
|
2423
|
-
<div class='param-desc column is-7'><p>For method chaining</p></div>
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
<div class='column is-5 has-text-left'>
|
|
2427
|
-
<label>Type: </label>
|
|
2428
|
-
|
|
2429
|
-
<code class="param-type">this</code>
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
</div>
|
|
2433
|
-
|
|
2434
|
-
</div>
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
</div>
|
|
2438
|
-
</div>
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
</div>
|
|
2444
|
-
|
|
2445
|
-
<div class="member">
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
<h4 class="name" id="trimHeaderFieldWhiteSpace">
|
|
2450
|
-
<a class="href-link" href="#trimHeaderFieldWhiteSpace">#</a>
|
|
2451
|
-
|
|
2452
|
-
<span class="code-name">
|
|
2453
|
-
|
|
2454
|
-
trimHeaderFieldWhiteSpace<span class="signature">(active)</span><span class="type-signature"> → {this}</span>
|
|
2455
|
-
|
|
2456
|
-
</span>
|
|
2457
|
-
</h4>
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
<div class="description">
|
|
2463
|
-
<p>Configure whitespace handling in header field names</p>
|
|
2464
|
-
</div>
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
<h5>Parameters:</h5>
|
|
2476
|
-
|
|
2477
|
-
<div class="table-container">
|
|
2478
|
-
<table class="params table">
|
|
2479
|
-
<thead>
|
|
2480
|
-
<tr>
|
|
2481
|
-
|
|
2482
|
-
<th>Name</th>
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
<th>Type</th>
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
<th>Default</th>
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
<th class="last">Description</th>
|
|
2494
|
-
</tr>
|
|
2495
|
-
</thead>
|
|
2496
|
-
|
|
2497
|
-
<tbody>
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
<tr class="deep-level-0">
|
|
2502
|
-
|
|
2503
|
-
<td class="name"><code>active</code></td>
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
<td class="type">
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
<code class="param-type">boolean</code>
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
</td>
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
<td class="default">
|
|
2519
|
-
|
|
2520
|
-
false
|
|
2521
|
-
|
|
2522
|
-
</td>
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
<td class="description last"><p>If true, removes all whitespace; if false, only trims edges (default: false)</p></td>
|
|
2526
|
-
</tr>
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
</tbody>
|
|
2531
|
-
</table>
|
|
2532
|
-
</div>
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
<dl class="details">
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
<p class="tag-source">
|
|
2571
|
-
<a href="src_browserApi.js.html" class="button">View Source</a>
|
|
2572
|
-
<span>
|
|
2573
|
-
<a href="src_browserApi.js.html">src/browserApi.js</a>, <a href="src_browserApi.js.html#line58">line 58</a>
|
|
2574
|
-
</span>
|
|
2575
|
-
</p>
|
|
2576
|
-
|
|
2577
|
-
</dl>
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
<div class='columns method-parameter'>
|
|
2597
|
-
<div class="column is-2"><label>Returns:</label></div>
|
|
2598
|
-
<div class="column is-10">
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
<div class="columns">
|
|
2603
|
-
|
|
2604
|
-
<div class='param-desc column is-7'><p>For method chaining</p></div>
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
<div class='column is-5 has-text-left'>
|
|
2608
|
-
<label>Type: </label>
|
|
2609
|
-
|
|
2610
|
-
<code class="param-type">this</code>
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
</div>
|
|
2614
|
-
|
|
2615
|
-
</div>
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
</div>
|
|
2619
|
-
</div>
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
</div>
|
|
2625
|
-
|
|
2626
|
-
</div>
|
|
2627
|
-
</div>
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
</article>
|
|
2634
|
-
|
|
2635
|
-
</section>
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
</div>
|
|
2641
|
-
|
|
2642
|
-
<footer class="footer">
|
|
2643
|
-
<div class="content has-text-centered">
|
|
2644
|
-
<p>Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a></p>
|
|
2645
|
-
<p class="sidebar-created-by">
|
|
2646
|
-
<a href="https://github.com/SoftwareBrothers/better-docs" target="_blank">BetterDocs theme</a> provided with <i class="fas fa-heart"></i> by
|
|
2647
|
-
<a href="http://softwarebrothers.co" target="_blank">SoftwareBrothers - JavaScript Development Agency</a>
|
|
2648
|
-
</p>
|
|
2649
|
-
</div>
|
|
2650
|
-
</footer>
|
|
2651
|
-
|
|
2652
|
-
</div>
|
|
2653
|
-
<div id="side-nav" class="side-nav">
|
|
2654
|
-
</div>
|
|
2655
|
-
</div>
|
|
2656
|
-
<script src="scripts/app.min.js"></script>
|
|
2657
|
-
<script>PR.prettyPrint();</script>
|
|
2658
|
-
<script src="scripts/linenumber.js"> </script>
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
</body>
|
|
2662
|
-
</html>
|