// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
/**
 * Utilities for working with the
 * {@link https://developer.mozilla.org/en-US/docs/Web/API/Streams_API | Streams API}.
 *
 * Includes buffering and conversion.
 *
 * ```ts
 * import { toText } from "@std/streams";
 * import { assertEquals } from "@std/assert/assert-equals";
 *
 * const stream = ReadableStream.from("Hello, world!");
 * const text = await toText(stream);
 *
 * assertEquals(text, "Hello, world!");
 * ```
 *
 * @module
 */

export * from "./buffer.ts";
export * from "./byte_slice_stream.ts";
export * from "./concat_readable_streams.ts";
export * from "./delimiter_stream.ts";
export * from "./early_zip_readable_streams.ts";
export * from "./iterate_reader.ts";
export * from "./limited_bytes_transform_stream.ts";
export * from "./limited_transform_stream.ts";
export * from "./merge_readable_streams.ts";
export * from "./readable_stream_from_reader.ts";
export * from "./reader_from_iterable.ts";
export * from "./reader_from_stream_reader.ts";
export * from "./text_delimiter_stream.ts";
export * from "./text_line_stream.ts";
export * from "./to_array_buffer.ts";
export * from "./to_blob.ts";
export * from "./to_json.ts";
export * from "./to_text.ts";
export * from "./to_transform_stream.ts";
export * from "./writable_stream_from_writer.ts";
export * from "./writer_from_stream_writer.ts";
export * from "./zip_readable_streams.ts";

// denoCacheMetadata={"headers":{"set-cookie":"__cf_bm=GDk4234l_UfM4UxcGAI0e2ZtBQ7bjXHwcBLFyzNVfes-1785241874.9387958-1.0.1.1-3bAv9O6zx8WBlPItvT3k7dG5fLPM1e1.N5nTQ_YKR7Q88OalFExgwapcDmaldQq_9yfXvik7dThL9WJRlIw0YS5_T8aJM76HHpb1MtBvX8RcXZAFdUTIdHKWFPdXrrXT; HttpOnly; SameSite=None; Secure; Path=/; Domain=jsr.io; Expires=Tue, 28 Jul 2026 13:01:14 GMT","content-type":"text/typescript","alt-svc":"h3=\":443\"; ma=86400","date":"Tue, 28 Jul 2026 12:31:14 GMT","age":"112265","nel":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}","content-length":"1442","report-to":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=isGtZny6PcK2mHk0vIYDvxLJxInDwiINJ8%2BHaL8R9PB5GoSlEV7DZATyOTzNY2kohAgx7HB8a4D81EH1w5Hgtjb9dffaWevLFEKd3c9xvSB7A%2FEiQGm%2BU88%3D\"}]}","cf-ray":"a223e6564eab7db6-LAX","accept-ranges":"bytes","cache-control":"public, max-age=31536000, immutable","x-robots-tag":"noindex","access-control-expose-headers":"*","etag":"\"f21c13e6ed8e3baf2de5ca2e0802b77a\"","server":"cloudflare","access-control-allow-origin":"*","cross-origin-resource-policy":"cross-origin","x-content-type-options":"nosniff","vary":"Origin","content-security-policy":"default-src 'none'; script-src 'none'; style-src 'none'; img-src 'none'; font-src 'none'; connect-src 'none'; frame-src 'none'; object-src 'none'; frame-ancestors 'none'; sandbox; form-action 'none';","x-jsr-backend":"modules","cf-cache-status":"HIT"},"url":"https://jsr.io/@std/streams/0.224.5/mod.ts","time":1785241874}