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