function parseimport { parse } from "https://deno.land/std@0.224.0/path/mod.ts"; parse(path: string): ParsedPathReturn a ParsedPath object of the path. Use format to reverse the result. ExamplesExample 1 import { parse } from "https://deno.land/std@0.224.0/path/mod.ts"; const parsedPathObj = parse("/path/to/dir/script.ts"); parsedPathObj.root; // "/" parsedPathObj.dir; // "/path/to/dir" parsedPathObj.base; // "script.ts" parsedPathObj.ext; // ".ts" parsedPathObj.name; // "script" Parameterspath: stringto process ReturnsParsedPath