StructuredStreamWriter
A utility for stream-writing CSV and JSON files.
Usage
npm i structured-stream-writer
;; await sswJSON.writeItem; sswJSON.done; console.log readFileSyncoutPath, 'UTF8',;/** [{item:1,text:"hello"}]*/ ; await sswCSV.writeItem; sswCSV.done; console.log readFileSyncoutPath, 'UTF8',;/* * item,text* 1,hello*/