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.
Private packages, team management tools, and powerful integrations. Get started with npm Orgs
how? learn more