I am currently using csv-write-stream to write something to a csv file:
var fs = require('fs');
var csvWriter = require('csv-write-stream')
var writer = csvWriter()
writer.pipe(fs.createWriteStream('out.csv'))
writer.write({hello: "world", foo: "bar", baz: "taco"})
writer.end()
I like how easy this is. However, this always creates a new file. How could I append something to this file? Could I even use the same library?