CSV Stringify examples
Introduction
This package proposes different API flavors. Every example is available on GitHub.
Using the pipe function
One useful function part of the Stream API is pipe
. It is used to connect
multiple stream.Readable
sources to stream.Writable
destinations.
The pipe example generates object records, stringifies them and print the generated CSV to the standard output.
Run this example with the command node samples/api.pipe.js
.