Skip to main content
Deno.mainModule - Deno documentation
variable Deno.mainModule
allow-read

The URL of the entrypoint module entered from the command-line. It requires read permission to the CWD.

Also see ImportMeta for other related information.

Type

string