You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/History.html
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,18 @@
176
176
177
177
178
178
179
+
<h1id="v1-1-0">v1.1.0</h1>
180
+
<ul>
181
+
<li>Fix for when chunk returned by transform to the parser ends with a space</li>
182
+
<li>Functionality to give a reason when invalid data</li>
183
+
<li>Fix problem with utf8 encoded streams that have multi-byte characters</li>
184
+
<li>Allow passing sparse array of headers</li>
185
+
</ul>
186
+
<h1id="v1-0-0">v1.0.0</h1>
187
+
<ul>
188
+
<li>Node 4 and 5 support.</li>
189
+
<li>Deprecating the <code>record</code> event.</li>
190
+
</ul>
179
191
<h1id="v0-6-0">v0.6.0</h1>
180
192
<ul>
181
193
<li>Removed try catch from emit to allow bubbling up of errors to process, if one is thrown <ahref="https://github.com/C2FO/fast-csv/issues/93">#93</a><ul>
Copy file name to clipboardExpand all lines: docs/index.html
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -188,7 +188,7 @@ <h3 id="parsing">Parsing</h3>
188
188
<p>All methods accept the following <code>options</code></p>
189
189
<ul>
190
190
<li><code>objectMode=true</code>: Ensure that <code>data</code> events have an object emitted rather than the stringified version set to false to have a stringified buffer.</li>
191
-
<li><code>headers=false</code>: Set to true if you expect the first line of your <code>CSV</code> to contain headers, alternatly you can specify an array of headers to use.</li>
191
+
<li><code>headers=false</code>: Set to true if you expect the first line of your <code>CSV</code> to contain headers, alternatly you can specify an array of headers to use. You can also specify a sparse array to omit some of the columns.</li>
192
192
<li><code>ignoreEmpty=false</code>: If you wish to ignore empty rows.</li>
193
193
<li><code>discardUnmappedColumns=false</code>: If you want to discard columns that do not map to a header.</li>
194
194
<li><code>strictColumnHandling=false</code>: If you want to consider empty lines/lines with too few fields as errors - Only to be used with <code>headers=true</code></li>
0 commit comments