Streams2 duplexer.


A stream duplexer embracing Streams 2.0 (for real).

Type: Boolean Default value: true

Tells the duplexer to reemit given streams errors.

Type: Boolean Default value: false

Use if given in streams are in object mode. In this case, the duplexer will also be in the object mode.

Plexer inherits of Stream.Duplex, the options are passed to the parent constructor so you can use it's options too.

Type: Stream

Required. Any writable stream.

Type: Stream

Required. Any readable stream.

A shortcut for plexer({objectMode: true}).

Feel free to pull your code if you agree with publishing it under the MIT license.