I literally just finished writing the initial version of async CSV parser. This
parser is intended to be used in high performance applications, possibly within
then event loop to process streaming CSV data. It uses callbacks to notify when
the field information is available. The library itself is very bare bones and
it’s up to the user to choose the data right data structure to store the data.
The library can be found on github.
This example shows how to load a CSV file into a linked list.
The function above is our callback method. Callbacks can be called multiple
times for the same row column combination because data can arrive in chunks.
In this particular example we are concatenating data with the previous one if
row and column are the same. Otherwise a new link is added.