Socket
Book a DemoInstallSign in
Socket

mintee

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mintee

a tiny module for piping an input to multiple output streams

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

mintee

This is a tiny module for piping an input to multiple output streams safely. It emits 'finish' when all of the writable streams it's writing into all emit 'finish'.

USAGE

const Tee = require('mintee')
const tee = new Tee(output1, output2, output3)
tee.on('finish', () => {
  console.log('wrote to all three via tee')
})
input.pipe(tee)

FAQs

Package last updated on 12 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts