diff --git a/docs.html b/docs.html index c0d11b8..085b3fb 100644 --- a/docs.html +++ b/docs.html @@ -317,6 +317,7 @@ var csv = Papa.unparse({ worker: false, comments: false, complete: undefined, + error: undefined, download: false, keepEmptyRows: false, chunk: undefined @@ -349,8 +350,9 @@ var csv = Papa.unparse({ If streaming, results will not be available in this function. -
download
If true
, this indicates that the string you passed in is actually a URL from which to download a file and parse it.keepEmptyRows
If true
, rows that are empty will be included in the results as an empty array. This is useful if you want to maintain line (or at least row) parity with the original input.error
A callback to execute if FileReader encounters an error. The function should receive two arguments: the error and the File.download
If true, this indicates that the string you passed in is actually a URL from which to download a file and parse it.keepEmptyRows
If true, rows that are empty will be included in the results as an empty array. This is useful if you want to maintain line (or at least row) parity with the original input.chunk
A callback, much like step, which activates streaming and is executed after every chunk (piece) is loaded and parsed. Works only with local and remote files. Do not use both chunk and step callbacks together. This function can be used to receive results one chunk at a time rather than one row at a time. If your file has a million rows, this results in, say, 10,000 function invocations rather than 1,000,000. In some cases, this may be faster.