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

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

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

Split a path to path + extension

Parameters

path: string

Returns

[string, string]