Skip to main content
Module.prototype.dependencySpecifiers - vm - Node documentation
property Module.prototype.dependencySpecifiers

Usage in Deno

import { Module } from "node:vm";

The specifiers of all dependencies of this module. The returned array is frozen to disallow any changes to it.

Corresponds to the [[RequestedModules]] field of Cyclic Module Record s in the ECMAScript specification.

Type

readonly string[]