From a02a3c11b2a22c322a4b92917917041b87d3427a Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Wed, 11 Jan 2017 09:26:02 +0100 Subject: [PATCH] Document new header option for unparse function. --- docs.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs.html b/docs.html index 314e985..d6ba4bb 100644 --- a/docs.html +++ b/docs.html @@ -248,9 +248,10 @@ { quotes: false, delimiter: ",", + header: true, newline: "\r\n" } - Set quotes to true to always enclose each field in quotes, or an array of true/false values correlating to specific to columns to force-quote. The delimiter can be any valid delimiting character. The newline character(s) may also be customized. + Set quotes to true to always enclose each field in quotes, or an array of true/false values correlating to specific to columns to force-quote. The delimiter can be any valid delimiting character. The newline character(s) may also be customized. Setting header to false will omit the header row. @@ -568,7 +569,7 @@ var csv = Papa.unparse({
- +
Data