csv-append-stream

0.0.1 • Public • Published

csv-append-stream

Appends an array of streams into a single stream.

Assumes streams of CSV data where the first row is a header or any other type of data where you want to keep the first row of the first stream, but remove it from all subsequent streams.

Order is maintained.

Install

npm i csv-append-stream

Enjoy

const appendStreams = require('csv-append-stream');
const fs = require('fs');
const streams = [];
streams.push(fs.createReadStream('./some.csv'));
streams.push(fs.createReadStream('./another.csv'));
appendStreams(streams).pipe(process.stdout);

Readme

Keywords

none

Package Sidebar

Install

npm i csv-append-stream

Weekly Downloads

11

Version

0.0.1

License

Unlicense

Last publish

Collaborators

  • john.stein