plexer
Create a duplex stream from a readable and a writable stream.
Last updated 5 months ago by nfroidure .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install plexer 
SYNC missed versions from official npm registry.

plexer

Create a duplex stream from a readable and a writable stream.

GitHub license

Stats

NPM NPM

Contributing

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

API

Classes

Duplexer

Create a duplex stream from a readable and a writable stream.cd

Functions

createObjectsDuplexer(optionsOrWritableStream, writableStreamOrReadableStream, maybeReadableStream)

A shortcut for new Duplexer({objectMode: true}, writable, readable).

createDuplexer(optionsOrWritableStream, writableStreamOrReadableStream, maybeReadableStream)

A functional version of Duplexer.

Duplexer

Create a duplex stream from a readable and a writable stream.cd

Kind: global class

new Duplexer(optionsOrWritableStream, writableStreamOrReadableStream, a)

Creates the Duplexer instance

Returns: Duplexer

Param Type Description
optionsOrWritableStream options or the writable stream
writableStreamOrReadableStream writable or readable stream
a maybeReadableStream readable stream

createObjectsDuplexer(optionsOrWritableStream, writableStreamOrReadableStream, maybeReadableStream) ⇒

A shortcut for new Duplexer({objectMode: true}, writable, readable).

Kind: global function
Returns: Duplexer

Param
optionsOrWritableStream
writableStreamOrReadableStream
maybeReadableStream

createDuplexer(optionsOrWritableStream, writableStreamOrReadableStream, maybeReadableStream) ⇒

A functional version of Duplexer.

Kind: global function
Returns: Duplexer

Param
optionsOrWritableStream
writableStreamOrReadableStream
maybeReadableStream

Authors

License

MIT

Current Tags

  • 3.0.0                                ...           latest (5 months ago)

10 Versions

  • 3.0.0                                ...           5 months ago
  • 2.0.0                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.0.3                                ...           11 years ago
  • 0.0.2                                ...           11 years ago
  • 0.0.1                                ...           11 years ago
  • 0.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (21)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE