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

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

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

Methods

getParentModule(): ModuleDeclaration | undefined

Gets the parent module declaration or undefined if it doesn't exist.

getParentModuleOrThrow(message?: string | (() => string)): ModuleDeclaration

Gets the parent module declaration or throws if it doesn't exist.

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

Type Parameters

T extends Constructor<ModuleChildableNodeExtensionType>