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

x/molt/lib/std/path.ts

Update dependencies the Deno way
Latest
import * as molt from "https://deno.land/x/molt@0.17.2/lib/std/path.ts";

Functions

Return the last portion of a path. Trailing directory separators are ignored, and optional suffix is removed.

Return the directory path of a path.

Return the extension of the path with leading period.

Converts a file URL to a path string.

Verifies whether provided path is absolute

Join all given a sequence of paths,then normalizes the resulting path.

Return the relative path from from to to based on current working directory.

Resolves path segments into a path

Converts a path string to a file URL.