Skip to main content

Built and signed on GitHub Actions

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
94%
Published
3 days ago (0.1.0)
f
createReadable

Creates a readable stream from an iterable. Every item in the iterable will be a chunk in the stream. This way you can pipe the stream, transform it, etc.

f
createWritable

Creates a writable stream from a given write function. Every chunk written to the stream will be passed to the function.

f
filter

Filter stream chunks based on a predicate function.

f
list

Retrieve all items from a readable stream to build a list of chunks

f
map

Creates a new stream by applying one or more transform functions to each chunk of the input stream. When many functions are provided, they are applied in order.

f
reduce

Reduces a stream into a single value, using the given function. This is similar to the Array.prototype.reduce method.

f
zip

Combines many readables into a new one whose chunks are tuples containing one item from each input readable. Shortest stream will determine the output stream length.