csv-stream - Simple CSV stream for node.js
Install
npm install csv-stream
Usage
var csv = var request = ; // All of these arguments are optional.var options = delimiter : '\t' // default is , endLine : '\n' // default is \n, columns : 'columnName1' 'columnName2' // by default read the first line and use values found as columns columnOffset : 2 // default is 0 escapeChar : '"' // default is an empty string enclosedChar : '"' // default is an empty string var csvStream = csv;
Test
npm test
Contributions
Feel free to post issues and pull requests, more than welcome you are ;).
Licence
(The MIT License) Copyright 2012 HipSnip Limited