Spec-Zone.ru › Deno 2

@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

See all symbols in @std/io on

© 2018–2025 the Deno authors
Licensed under the MIT License.
https://docs.deno.com/runtime/reference/std/io

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API