An async iterator that emits buffers containing bytes up to a certain length
minimal implementation of a PassThrough stream
Buffer-backed Streams for reading and writing.
a ThroughStream that strictly buffers all readable events when paused.
split a Text Stream into a Line Stream, using Stream 3
Postgres bytea parser
Returns the next buffer/object in a stream's readable queue
Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too
Get and validate the raw body of a readable stream.
writable stream that concatenates strings or binary data and calls a callback with the result
Get a stream as a string, Buffer, ArrayBuffer or array
An iteration of the Node.js core streams with a series of improvements
Extensions to Node.js child_process module
Split email messages into an object stream
Turn a writable and readable stream into a streams2 duplex stream with support for async initialization and streams1/streams2 input
Strip UTF-8 byte order mark (BOM) from a string
TypeScript definitions for responselike
Modern Buffer API polyfill without footguns
JSON.Stringify as a readable stream
a stream of blocks
Encode and decode base64 encoded strings
TypeScript definitions for stream-buffers
Converts a Buffer/String into a readable stream
Encode and decode quoted-printable strings according to rfc2045
A circular queue (also called a circular buffer or ring buffer) is useful when buffering data streams
Ruby bindings for archive_r, a libarchive-based library for processing many archive formats. It streams entry data directly from the source to recursively read nested archives without extracting to temporary files or loading large in-memory buffers.
A ruby implementation of yielding lines when streaming data to a buffer
A circular buffer, cyclic buffer or ring buffer is a data structure that uses a single, fixed-size buffer as if it were connected end-to-end. This structure lends itself easily to buffering data streams. This library impliments such a buffer.
enumerator_io allows you to wrap an enumerator in an IO-compatible interface, enabling chunked reads and efficient memory usage. Ideal for streaming large files or processing data in real-time without buffering everything into memory.
# Rack HTTP Pipe Use to pipe directly a remote HTTP file without buffering it. > /!\ Do not work with WebBrick, tested with puma ## Use case * Given a file named #HASH#.pdf on S3 * You want a clean URL and handling the authentication in front of it ``` GET http:/example.com/download Content-Disposition: attachment;filename=name-fetched-from-db.pdf Content-Length Content-Type etc. ``` ## Usage ```ruby get "/" do http_pipe "http://example.com/iso-ubuntu-1404-64bits", { status: 200, headers: { "Content-Type: application/octet-stream", "Content-Disposition: attachment;filename=ubuntu.iso", } } end ``` See the example directory for an example app using sinatra