var tee = require('tee'); src .pipe(tee( dest1, dest2, dest3 )) .pipe(somewhereElse)
$ npm install tee-1# or$ component install godmodelabs/tee
Creates a new through Stream that pipes all incoming data to each
Emits close when all piped to streams closed.
Of course you’re getting around to it, but you probably should get around to it soon. Buy a ticket »
how? learn more