mkaufma
mkaufma
``` const fs = require('fs'); const path = require('path'); const papa = require('papaparse'); let csvStream; let shouldWriteHeadersRow = true; let reportHeaders = ['a', 'b']; function initStream(csvPath) { try { csvStream...
The above code creates a faulty csv file: instead of: ``` a,b 1,2 11,22 111,222 1111,2222 ``` we get ``` a,b 1,2 11,22111,222 1111,2222 ```
If you add a config option to make sure unparse result always ends with 'endLine' it would be great