Module

x/ash/mod.ts>path.extname

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

Returns the file extension of a path.

Parameters

path: string

The path to get the file extension of.

Returns

string