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

x/lume/core/utils.ts>normalizePath

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function normalizePath
import { normalizePath } from "https://deno.land/x/lume@v1.15.3/core/utils.ts";

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

Parameters

path: string