From 1fde33639c5bce4218321b12c59a4d329ed6e7fe Mon Sep 17 00:00:00 2001 From: Academic Systems <30420358+academicsystems@users.noreply.github.com> Date: Mon, 4 Jun 2018 03:45:20 -0600 Subject: [PATCH] Add documentation for transform configuration option (#516) --- docs.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs.html b/docs.html index 1321933..05fafee 100644 --- a/docs.html +++ b/docs.html @@ -354,7 +354,8 @@ var csv = Papa.unparse({ chunk: undefined, fastMode: undefined, beforeFirstChunk: undefined, - withCredentials: undefined + withCredentials: undefined, + transform: undefined }
@@ -539,6 +540,14 @@ var csv = Papa.unparse({ A boolean value passed directly into XMLHttpRequest's "withCredentials" property. + + + transform + + + A function to apply on each value. The function receives the value as its first argument and the column number as its second argument. The return value of the function will replace the value it received. The transform function is applied before dynamicTyping. + +