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