csv-array
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -53,3 +53,3 @@ module.exports = { | ||
readStream.on('line', function(line) {console.log(line); | ||
readStream.on('line', function(line) { | ||
readStream.pause(); | ||
@@ -76,2 +76,5 @@ setTimeout(function () { | ||
readStream.on('end', function() { | ||
if(tempDataArray.length == 0) { | ||
tempDataArray = tempAttributeNameArray; | ||
} | ||
callBack(tempDataArray); | ||
@@ -78,0 +81,0 @@ }); |
{ | ||
"name": "csv-array", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Intelligent CSV parser created and made for nodeJS. Which takes a csv file and produce an array from it.", | ||
@@ -5,0 +5,0 @@ "main": "csv-array.js", |
5991
84