node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


view on npm npm module downloads per month Dependency Status

## stream-monitor This module extends the base Stream class with a .monitor() method. Invoking this method on a stream with print all event activity to the console.

This script:

var monitor = require("stream-monitor");
var fs = require("fs");

Will output something like:

Monitoring: ReadStream [n/a, 65536]
Monitoring: WriteStream [16384, n/a]
ReadStream  READABLE [0]
ReadStream  END
UNPIPE: ReadStream X WriteStream
WriteStream FINISH
ReadStream  CLOSE
WriteStream CLOSE

© 2015 Lloyd Brookes <>. Documented by jsdoc-to-markdown.