diff --git a/docs.html b/docs.html index 65d944f..101cc78 100644 --- a/docs.html +++ b/docs.html @@ -345,7 +345,8 @@ var csv = Papa.unparse({ download: false, skipEmptyLines: false, chunk: undefined, - fastMode: undefined + fastMode: undefined, + beforeFirstChunk: undefined, }
@@ -490,6 +491,14 @@ var csv = Papa.unparse({ Fast mode speeds up parsing significantly for large inputs. However, it only works when the input has no quoted fields. Fast mode will automatically be enabled if no " characters appear in the input. You can force fast mode either way by setting it to true or false. + + + beforeFirstChunk + + + A function to execute before parsing the first chunk. This only applies if using a chunk callback. The function receives as an argument the chunk about to be parsed, and it may return a modified chunk to parse. This is useful for stripping header lines (as long as the header fits in a single chunk). + +