Utilities for working with Deno's readers, writers, and web streams.
Reader and Writer interfaces are deprecated in Deno, and so many of these utilities are also deprecated. Consider using web streams instead.
Reader
Writer
import { toReadableStream, toWritableStream } from "@std/io";await toReadableStream(Deno.stdin) .pipeTo(toWritableStream(Deno.stdout)); Copy
import { toReadableStream, toWritableStream } from "@std/io";await toReadableStream(Deno.stdin) .pipeTo(toWritableStream(Deno.stdout));
Utilities for working with Deno's readers, writers, and web streams.
ReaderandWriterinterfaces are deprecated in Deno, and so many of these utilities are also deprecated. Consider using web streams instead.