CSV.stringify(Array, [delimiter])

Function convert an javascript array of objects to a CSV-string, with optional custom delimiter.

Type: function

Parameter(s):

  • Array {Array}:

    to be converted to a CSV-string

  • delimiter {String} Optional:

    optional character[s] used to separate data.

Returns:

  • {String}:

    Returns CSV-string

Example(s):

var str = CSV.stringify(arr);
var arr = CSV.parse(str);