Ftext
Bun

function

stream.consumers.text

function text(
stream: ReadableStream<any> | ReadableStream | AsyncIterable<any, any, any>
): Promise<string>;
@returns

Fulfills with the contents of the stream parsed as a UTF-8 encoded string.