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

x/lume/plugins/resolve_urls.ts>getPathInfo

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function getPathInfo
import { getPathInfo } from "https://deno.land/x/lume@v1.19.0/plugins/resolve_urls.ts";

Split the filename and the extra content (query or hash) from a path Example: "/foo.md?hello=world" => ["/foo.md", "?hello=world"] Example: "/foo.md#hello=world" => ["/foo.md", "#hello=world"]

Parameters

path: string

Returns

[string, string]