import { ensureAsURL } from "https://deno.land/x/dxx@rf/src/lib/$shared.ts";
Ensure "path" is a valid URL (by conversion if needed) or panic.
Parameters
path: string | URL
• path/URL-string (may already be in URL file format [ie, 'file://...']) or URL