function toFileUrlimport { toFileUrl } from "https://dotland.deno.dev/std@0.146.0/node/path/posix.ts"; toFileUrl(path: string): URLConverts a path string to a file URL. Converts a path string to a file URL. import { toFileUrl } from "./posix.ts"; toFileUrl("/home/foo"); // new URL("file:///home/foo") Parameterspath: stringto convert to file URL ReturnsURL