Ryuichi Inagaki
Ryuichi Inagaki
Hi @ajoslin103 , sorry for my slow response. I wonder if you could just use `csvStringifier`. `csvWriter` shouldn't cause any troubles if you're not using it in browsers.
Hi @dinh-duc-nghia-p , sjis is not one of node.js's supported encodings. Do you want to provide us more specific info as to what you want to achieve? Node.js supports utf8...
I guess you need to use a thrid-party library like [iconv-lite](https://www.npmjs.com/package/iconv-lite) to write with sjis. I can probably introduce a new parameter or make `encoding` to accept a function for...
But for now, if you use csv-writer, you need to do the file write part yourself... ```js const {writeFile} = require('fs').promises const iconv = require('iconv-lite') const createCsvStringifier = require('csv-writer').createObjectCsvStringifier const...
Or using stream like this: ```js const {createWriteStream} = require('fs') const {Readable, Transform} = require('stream') const iconv = require('iconv-lite') const createCsvStringifier = require('csv-writer').createObjectCsvStringifier toShiftJIS = text => iconv.encode(text, "Shift_JIS") class...
Hi @alphanso , thanks for the suggestion. Perhaps the way to support your usecase would be, extend this library to support a stream then you use it in conjunction with...
Actually, with the example in the above mentioned ticket, you can write a steam yourself and use it with a gzip stream library to see if that idea works for...
Hi @deakinhead , thanks for the suggestion. I want to avoid making a breaking change at this stage; so probably need to introduce a new flag. Naming would be a...
ref https://github.com/ryu1kn/csv-writer/issues/38
`quoteEmptyFields` ?