Stream Line Dispatch
A way to read lines from a stream and dispatch events based off of pattern matching of those strings. Stream Line Dispatch is a stream transform, that does not transform data but analyses the data from a stream and allow for some simple event binding when data comes throught the pipe.
Install
npm install stream-line-dispatch
Usage
Example usage.
var spawn = spawnsld = ssh = transform = ; transform; sshstdout;