object-stream-to-fs
Consume a stream of objects and save them to a file.
Specify a path to the target file.
example
save objects to a file:
var s = ;var d = ;d;s;
methods
var objectStreamToFS =
var s = objectStreamToFS(filePath)
Consume the entire stream of objects.
The returned object s
is a Stream.
events
d.on('done', function () {})
Emitted when all writes have been completed and the object stream has been consumed.
install
With npm do:
npm install object-stream-to-fs
license
MIT