Add arrayToCSV
This commit is contained in:
2
test/arrayToCSV/arrayToCSV.js
Normal file
2
test/arrayToCSV/arrayToCSV.js
Normal file
@ -0,0 +1,2 @@
|
||||
const arrayToCSV = (arr, delimiter = ',') => arr.map(v => v.join(delimiter)).join('\n');
|
||||
module.exports = arrayToCSV;
|
||||
Reference in New Issue
Block a user