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