Skip to main content
Module

x/deno2node/src/deps.deno.ts>BodiedNode

Compile your Deno project to run on Node.js.
Go to Latest
interface BodiedNode
import { type BodiedNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Methods

getBody(): Node

Gets the body.

setBodyText(textOrWriterFunction: string | WriterFunction): this

Sets the body text.

getBodyText(): string

Gets the body text without leading whitespace, leading indentation, or trailing whitespace.

function BodiedNode
import { BodiedNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Type Parameters

T extends Constructor<BodiedNodeExtensionType>