@shanzhai/parse-csv-step

A Shanzhai step which parses CSV files.

Usage no npm install needed!

<script type="module">
  import shanzhaiParseCsvStep from 'https://cdn.skypack.dev/@shanzhai/parse-csv-step';
</script>

README

@shanzhai/parse-csv-step Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai step which parses CSV files.

Usage

If within a trigger's event handler an instance of ParseCsvStep similar to the following were to be returned:

new ParseCsvStep(
  `A description of the operation being performed`,
  new ConstantInput(`Example AA, Example AB, Example AC
Example BA, Example BB, Example BC
Example CA, Example CB, Example CC`
  ),
  new OutputForParsedCsv()
);

An array similar to the following would be written to the output:

[
  [`Example AA`, `Example AB`, `Example AC`],
  [`Example BA`, `Example BB`, `Example BC`],
  [`Example CA`, `Example CB`, `Example CC`],
];

Dependencies

This package has no runtime dependencies.

Peer Dependencies

This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).

License

FOSSA Status