convert a stream1 or streams2 stream into a pull-stream
Convert a classic-stream, or a new-stream into a pull-stream
var toPull = require'stream-to-pull-stream'var pull = require'pull-stream'pulltoPullsourcefscreateReadStream__filenamepullmap return etoStringtoUpperCasetoPullsinkprocessstdoutiferr throw errconsole.log'done'
if the node steam is a duplex (i.e. net, ws) then use
duplex takes an optional callback in the same way that