Skip to content

Commit

Permalink
feat: expose JSON2CSVStreamParser
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed Jan 22, 2022
1 parent 50ed883 commit d476707
Show file tree
Hide file tree
Showing 3 changed files with 885 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/json2csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

const JSON2CSVParser = require('./JSON2CSVParser');
const JSON2CSVAsyncParser = require('./JSON2CSVAsyncParser');
const JSON2CSVStreamParser = require('./JSON2CSVStreamParser');
const JSON2CSVTransform = require('./JSON2CSVTransform');

// Transforms
Expand All @@ -19,6 +20,7 @@ const object = require('./formatters/object');

module.exports.Parser = JSON2CSVParser;
module.exports.AsyncParser = JSON2CSVAsyncParser;
module.exports.StreamParser = JSON2CSVStreamParser;
module.exports.Transform = JSON2CSVTransform;

// Convenience method to keep the API similar to version 3.X
Expand Down
Loading

0 comments on commit d476707

Please sign in to comment.