SourceTextModule
This feature is only available with the --experimental-vm-modules
command flag enabled.
The vm.SourceTextModule
class provides the Source Text Module Record as defined in the ECMAScript specification.
Since
v9.6.0
Properties
Link copied to clipboard
The specifiers of all dependencies of this module. The returned array is frozen to disallow any changes to it.
Link copied to clipboard
The identifier of the current module, as set in the constructor.
Link copied to clipboard
The current status of the module. Will be one of: