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

x/ayonli_jsext/path/util.ts

A JavaScript extension package for building strong and modern applications.
Latest
import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/path/util.ts";

Functions

Checks if the path contains the given sub path.

Checks if the path ends with the given sub path.

Checks if the path1 and path2 describe the same path.

Checks if the given path is an absolute path.

Checks if the given string is a file URL, whether with or without //.

Checks if the given path is a file system path.

Checks if the given path is a Posix specific path.

Checks if the given string is a URL, whether standard or non-standard.

Checks if the given path is a Windows specific path.

Splits the path into well-formed segments.

Checks if the path starts with the given sub path.

Interfaces

Options for path comparison functions, such as contains, startsWith, endsWith and equals.