import { fromFileUrl } from "https://deno.land/x/dex@1.0.2/lib/deps/path/posix.ts";
Converts a file URL to a path string.
fromFileUrl("file:///home/foo"); // "/home/foo"
Note that non-file URLs are treated as file URLs and irrelevant components are ignored.
Parameters
url: string | URL