function basenameimport { basename } from "https://dotland.deno.dev/std@0.221.0/path/posix/mod.ts"; basename(path: string, suffix?): stringReturn the last portion of a path. Trailing directory separators are ignored, and optional suffix is removed. ExamplesExample 1 import { basename } from "https://deno.land/std@0.221.0/path/basename.ts"; console.log(basename("/home/user/Documents/")); // "Documents" console.log(basename("/home/user/Documents/image.png")); // "image.png" console.log(basename("/home/user/Documents/image.png", ".png")); // "image" Parameterspath: string path to extract the name from. optionalsuffix = [UNSUPPORTED] suffix to remove from extracted name. Returnsstring