mafintosh

mafintosh/stream-collector

Buffer data from a stream into an array if a callback is provided

JavaScript
32
1
MIT License

stream-collector is a small utility for Node.js that buffers all data chunks from a stream into an array if a callback is provided. It's designed for developers who need to optionally buffer stream data, such as when working with databases or HTTP requests where buffering may be required in some cases but not others. The library follows a pattern similar to popular modules like request, where the stream is always returned and buffering only occurs when a callback is supplied.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of mafintosh/stream-collector

Account's avatar
Run a function exactly one time
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
7 contributions

Recent events

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

No events yet