multi-duplex-stream
Duplex stream that reads/writes from/to multiple duplex streams at once
Installation
npm install multi-duplex-stream
Example
Below is a minimal example of running ssh commands in parallel:
'use strict' var ssh = var eos = var multiDuplex = module { var sshStreams = hosts var psshStream = multiDuplex return psshStream}