noflo-csv

Components for the NoFlo flow-based programming environment to convert CSV data to and from JavaScript objects

npm install noflo-csv
3 downloads in the last week
10 downloads in the last month

NoFlo CSV

NoFlo components to convert CSV data to JavaScript objects. When time permits, I'll add components that express JavaScript objects as CSV, although this mapping may be less straightforward.

Components

  1. ConvertCsvToMatrix has a CSV in port that accepts text data and an OUT port that sends a JavaScript array of arrays representing the parsed data.
  2. ConvertCsvToObjectPerRow has a CSV in port that also accepts text data and an OUT port that sends a Javascript object for each row of the output. The first line of the CSV data is considered to be the header and the column headings will be used for the object keys.

Please take a look at the docco examples for these components on the NoFlo web site.

npm loves you