Spec-Zone.ru › Deno 2

@std/streams

Обзор

Утилиты для работы с API потоков.

Включает буферизацию и преобразование.

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!");

Добавление в проект

›_
deno add jsr:@std/streams

Посмотреть все символы в @std/streams на

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

Spec-Zone.ru

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