function path.extnameimport { path } from "https://deno.land/x/proc@0.21.8/dev/deps.ts"; const { extname } = path; extname(path: string): stringReturn the extension of the path with leading period. Parameterspath: stringwith extension Returnsstringextension (ex. for file.ts returns .ts)