Deno.mainModule

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.

const mainModule: string;