import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/path/index.ts";
Platform-independent utility functions for dealing with file system paths and URLs.
The functions in this module are designed to be generic and work in any runtime, whether server-side or browsers. They can be used for both system paths and URLs.
Variables
v sep | Platform-specific path segment separator. The value is |
Functions
Return the last portion of the given | |
Checks if the | |
f cwd | Returns the current working directory. |
Returns the parent path of the given | |
Checks if the | |
Checks if the | |
Returns the extension of the | |
Checks if the given | |
Checks if the given string is a file URL, whether with or without | |
Checks if the given | |
Checks if the given | |
Checks if the given string is a URL, whether standard or non-standard. | |
Checks if the given | |
f join | Concatenates all given |
This function is similar to Node.js implementation, but does not preserve trailing slashes. | |
Resolves path | |
Similar to normalize, but also remove the search string and hash string if present. | |
Splits the | |
Checks if the | |
Converts the given path to a file URL if it's not one already. | |
Converts the given URL to a file system path if it's not one already. |
Interfaces
Options for path comparison functions, such as contains, startsWith, endsWith and equals. |