Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Split a path to path + extension

Parameters

path: string

Returns

[string, string]