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
Go to Latest
function getPathInfo
import { getPathInfo } from "https://deno.land/x/lume@v1.17.5/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]