我做了这样的事情:
http.createServer(function(request, response) { response.setHeader('Content-disposition', 'attachment; filename=testing.csv'); response.writeHead(200, { 'Content-Type': 'text/csv' }); csv().from(data).to(response)}).listen(3000);


