Skip to main content
text - stream/consumers - Node documentation
function text

Usage in Deno

import { text } from "node:stream/consumers";
text(stream:
ReadableStream
| Readable
| AsyncIterable<any>
): Promise<string>

Parameters

stream:
ReadableStream
| Readable
| AsyncIterable<any>

Return Type

Promise<string>
Back to top