The main module of the package implements the native Node.js transform stream which is both readable and writable.
This is the recommended approach if you need a maximum of power. It ensures scalability by treating your data as a stream from the source to the destination.
The signature is
const stream = stringify([options]).
The stream example write 2 records and register multiple events to read the generated CSV output and get notified when the serialisation is finished.
After cloning the project repository, run this example with the command