Module

x/lume/core/utils/path.ts

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
import * as mod from "https://dotland.deno.dev/x/lume@v2.3.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