Skip to main content
Module

std/url/extname.ts

The Deno Standard Library
Latest
import * as mod from "https://deno.land/std@0.222.1/url/extname.ts";

Functions

Return the extension of the URL with leading period. The extension is sourced from the path portion of the URL. If there is no extension, an empty string is returned.