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

x/lume/core/utils/path.ts

🔥 Static site generator for Deno 🦕
Very Popular
Latest
import * as lume from "https://deno.land/x/lume@v2.4.2/core/utils/path.ts";

Functions

decodeURI() can't decode the % character, as it is used in any encoded character

Get the extension of a path (this works better than std/path)

Split a path to path + extension

Check if the path is absolute

Check if the path is an URL

Convert the Windows paths (that use the separator "") to Posix paths (with the separator "/") and ensure it starts with "/".

Replace the extension of a path

Resolve the path of an included file Used in the template engines and processors