Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Deno.mainModule

The URL of the entrypoint module entered from the command-line.

const mainModule: string;