Skip to content

yetzt/node-muks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

muks

multiplexes a stream by creating multiple stream.PassThrough streams and writing all chunks to them.

usage

const muks = require("muks");

somestream.pipe(muks(
	
	function(stream1){
		stream1.on("data", console.log);
	},

	function(stream2){
		stream2.pipe(somewhere);
	},
	
	function(stream3){
		stream3.pipe(somewhere_else);
	},
	
	// ...
	
))

About

multiplexes a stream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published