Module.prototype.namespace - Node documentation
property Module.prototype.namespace

Usage in Deno

import { Module } from "node:vm";

The namespace object of the module. This is only available after linking (module.link()) has completed.

Corresponds to the GetModuleNamespace abstract operation in the ECMAScript specification.

Type

Object