Allow feeding manual feeding of data to ya-csv #7

Merged
merged 1 commit into from Sep 11, 2011

Conversation

Projects
None yet
2 participants
Contributor

miracle2k commented Apr 16, 2011

I wanted to stream the data from an upload directly into the CSV reader, and was disappointed to see that node.js, does not, from what I can tell, provide a memory-based stream object that could be used for this.

Luckily, ya-csv was basically already setup to allow manual calls of parse() and pieces of data, except that the end() handler was inlined and could not be called from the outside. This is mainly what this patch changes.

@miracle2k miracle2k Make it possible to feed CvsReader pieces of data from memory. In a way,
this is a workaround for the lack of a memory-based stream object in
Node.
98be9c8

@koles koles added a commit that referenced this pull request Sep 11, 2011

@koles koles Merge pull request #7 from aspectit/master
Allow feeding manual feeding of data to ya-csv
d8de316

@koles koles merged commit d8de316 into koles:master Sep 11, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment