import { Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/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.