A node module that calls a callback when a readable/writable/duplex stream has completed or failed.
npm install end-of-stream
Simply pass a stream and a callback to the
Both legacy streams, streams2 and stream3 are supported.
var eos = ;;;;;;;
end-of-stream is part of the mississippi stream utility collection which includes more useful stream modules similar to this one.