Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core/utils/path.ts>getExtension

🔥 Static site generator for Deno 🦕
Very Popular
Latest
function getExtension
import { getExtension } from "https://deno.land/x/lume@v2.4.2/core/utils/path.ts";

Get the extension of a path (this works better than std/path)

Parameters

path: string

Returns

string