Socket
Socket
Sign inDemoInstall

plexer

Package Overview
Dependencies
6
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    plexer

A stream duplexer embracing Streams 2.0 (for real).


Version published
Weekly downloads
44K
increased by3.09%
Maintainers
1
Install size
206 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 27 Aug 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc