Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dax/src/request.ts>RequestResponse#text

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Go to Latest
method RequestResponse.prototype.text
import { RequestResponse } from "https://deno.land/x/dax@0.39.1/src/request.ts";

Respose body as text.

Note: Returns undefined when .noThrow(404) and status code is 404.

Returns

Promise<string>