On this page
@std/io
Unstable
This @std package is experimental and its API may change without a major version bump.
Overview Jump to heading
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 Jump to heading
deno add jsr:@std/io