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
Go to 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]