plexer

2.0.0 • Public • Published

plexer

A stream duplexer embracing Streams 2.0 (for real).

GitHub license Build status Coverage Status NPM version Dependency Status devDependency Status Package Quality Code Climate

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.

Authors

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    14,177
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    14,177
  • 1.0.3
    3,872
  • 1.0.2
    1,363
  • 1.0.1
    10,564
  • 1.0.0
    0
  • 0.0.3
    5,876
  • 0.0.2
    1,090
  • 0.0.1
    4,062
  • 0.0.0
    0

Package Sidebar

Install

npm i plexer

Weekly Downloads

41,004

Version

2.0.0

License

MIT

Unpacked Size

13.1 kB

Total Files

5

Last publish

Collaborators

  • nfroidure