Add JSONtoCSV

Resolve #686
This commit is contained in:
Angelos Chalaris
2018-07-06 20:25:46 +03:00
parent 67601cff1b
commit 7443e9270f
5 changed files with 52 additions and 2 deletions

View File

@ -2,8 +2,8 @@
Converts a 2D array to a comma-separated values (CSV) string.
Use `Array.map()` and `String.join(delimiter)` to combine individual 1D arrays (rows) into strings.
Use `String.join('\n')` to combine all rows into a CSV string, separating each row with a newline.
Use `Array.map()` and `Array.join(delimiter)` to combine individual 1D arrays (rows) into strings.
Use `Array.join('\n')` to combine all rows into a CSV string, separating each row with a newline.
Omit the second argument, `delimiter`, to use a default delimiter of `,`.
```js