Niche Portobello Mushroom

plexer

1.0.2 • Public • Published

plexer

A stream duplexer embracing Streams 2.0 (for real).

NPM version Build status Dependency Status devDependency Status Coverage Status Code Climate Dependency Status

Usage

plexer([options,] writable, readable)

options

options.reemitErrors

Type: Boolean Default value: true

Tells the duplexer to reemit given streams errors.

options.objectMode

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.

options.*

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

writable

Type: Stream

Required. Any writable stream.

readable

Type: Stream

Required. Any readable stream.

plexer.obj([options], writable, readable)

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

Stats

NPM NPM

Contributing

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

License

MIT

install

npm i plexer

Downloadsweekly downloads

75,299

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability