function extnameimport { extname } from "https://deno.land/std@0.217.0/path/posix/extname.ts"; extname(path: string): stringReturn the extension of the path with leading period. Parameterspath: stringwith extension Returnsstringextension (ex. for file.ts returns .ts)