import { Deno } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.deno.ns.d.ts";
const { mainModule } = Deno;
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.