mafintosh

mafintosh/duplexify

Turn a writable and readable stream into a streams2 duplex stream with support for async initialization and streams1/streams2 input

JavaScript
194
35
MIT License

Duplexify is a Node.js utility that combines a writable and readable stream into a single duplex stream, supporting both streams1 and streams2 input. It allows asynchronous setup of the readable and writable parts using `setReadable()` and `setWritable()`, making it useful for scenarios where streams are initialized at different times. This library is ideal for developers working with Node.js streams who need flexible duplex stream creation, particularly in HTTP request handling or complex stream pipelines.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of mafintosh/duplexify

Account's avatar
Call a callback when a readable/writable/duplex stream has completed or failed.
Account's avatar
Browser-friendly inheritance fully compatible with standard node.js inherits()
Account's avatar
Node.js Streams, a user-land copy of the stream library from Node.js
Account's avatar
Returns the next buffer/object in a stream's readable queue
Account's avatar
writable stream that concatenates strings or binary data and calls a callback with the result
Account's avatar
tap-producing test harness for node and browsers
Account's avatar
A tiny wrapper around Node.js streams.Transform (Streams2/3) to avoid explicit subclassing noise

Support the repos that depend on this repository

Top contributors

mafintosh's profile
mafintosh
100 contributions
phated's profile
phated
1 contributions
EdwardBetts's profile
EdwardBetts
1 contributions
dignifiedquire's profile
dignifiedquire
1 contributions
kapetan's profile
kapetan
1 contributions
nageshlop's profile
nageshlop
1 contributions
orgads's profile
orgads
1 contributions
PatrickHeneise's profile
PatrickHeneise
1 contributions
faust64's profile
faust64
1 contributions
timoxley's profile
timoxley
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet