import { extname } from "https://dotland.deno.dev/std@0.224.0/url/mod.ts";
Returns the file extension of a given URL or string with leading period.
The extension is sourced from the path portion of the URL. If there is no extension, an empty string is returned.