pull-imux
Transform stream composed of smaller duplex streams
An inverse MUX stream. Returns a transform that is composed of channels (duplex streams)
var minify channels = // Program channels to transform the data: // Use the transformations:
pull-pair
is to pull-pair/duplex
as pull-splitter
is to pull-imux
Install
npm install --save pull-imux
yarn add pull-imux
Usage
imux(config)
Create a transform
and channels
stream, also rest
where unknown data streams to (can be ignored)
channels
corrosponds with each field from config
to let you "route" your data into different duplexes:
var transform channels rest = // Setup the channels to transform the data // For no transformations, do an "echo stream" // Pull data through the transform
Also see
pull-mux
combine and namespace multiple streamspull-splitter
split streams into other streams using filterspull-pair
for creating linked streams
Maintained by Jamen Marz (See on Twitter and GitHub for questions & updates)