Stream objects to a file and store it to be read from JSONStream
Consume a stream of objects and save them to a file.
Specify a path to the target file.
save objects to a file:
var s = ;var d = ;d;s;
var objectStreamToFS =
Consume the entire stream of objects.
The returned object
s is a Stream.
Emitted when all writes have been completed and the object stream has been consumed.
With npm do:
npm install object-stream-to-fs