@std/io
Unstable
This @std package is experimental and its API may change without a major version bump.
Overview
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.
import { toReadableStream, toWritableStream } from "@std/io";
await toReadableStream(Deno.stdin)
.pipeTo(toWritableStream(Deno.stdout));
Add to your project
›_
deno add jsr:@std/io
© 2018–2025 the Deno authors
Licensed under the MIT License.
https://docs.deno.com/runtime/reference/std/io