mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
d902c24651
* BREAKING(io): remove `StringWriter` * BREAKING(io): remove `StringReader`
28 lines
816 B
TypeScript
28 lines
816 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
/**
|
|
* 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.
|
|
*
|
|
* ```ts ignore
|
|
* import { toReadableStream, toWritableStream } from "@std/io";
|
|
*
|
|
* await toReadableStream(Deno.stdin)
|
|
* .pipeTo(toWritableStream(Deno.stdout));
|
|
* ```
|
|
*
|
|
* @module
|
|
*/
|
|
|
|
export * from "./buffer.ts";
|
|
export * from "./copy.ts";
|
|
export * from "./iterate_reader.ts";
|
|
export * from "./read_all.ts";
|
|
export * from "./reader_from_stream_reader.ts";
|
|
export * from "./to_readable_stream.ts";
|
|
export * from "./to_writable_stream.ts";
|
|
export * from "./types.ts";
|
|
export * from "./write_all.ts";
|