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 ...
Sometimes you face the problem to export the data into csv file using clientside platform. In this case you can use javascript and jquery.