@std/streams
Overview
Utilities for working with the Streams API.
Includes buffering and conversion.
import { toText } from "@std/streams";
import { assertEquals } from "@std/assert";
const stream = ReadableStream.from(["Hello, world!"]);
const text = await toText(stream);
assertEquals(text, "Hello, world!");
Add to your project
›_
deno add jsr:@std/streams
© 2018–2025 the Deno authors
Licensed under the MIT License.
https://docs.deno.com/runtime/reference/std/streams