Module

x/lume/plugins/resolve_urls.ts>getPathInfo

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