Module

x/ash/src/path.ts>extname

A stylish web framework for Deno!
Latest
function extname
import { extname } from "https://dotland.deno.dev/x/ash@1.3.6/src/path.ts";

Returns the file extension of a path.

Parameters

path: string

The path to get the file extension of.

Returns

string