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

x/lume/plugins/resolve_urls.ts>getPathInfo

🔥 Static site generator for Deno 🦕
Very Popular
Latest
function getPathInfo
import { getPathInfo } from "https://deno.land/x/lume@v2.4.1/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]