require(csv-file-creator) will return a JS function, but a JS function can not have dashes in the name, so you will have to call it something else. data: Array[Array[number|string]] is an array of ...
Converts an array of JavaScript objects into the CSV format. You can save the CSV to file or return it as a string. The keys in the first object of the array will be used as column names. Any special ...