node-end-of-stream

Invoke a callback when a stream has completed or failed
  https://github.com/mafintosh/end-of-stream
  0
  no reviews



End-of-stream is a Node.js module which calls a callback when a readable, writable, or duplex stream has completed or failed.

Pass a stream and a callback to end-of-stream. Both legacy streams and streams2 are supported.

Node.js is an event-based server-side JavaScript engine.