Skip to main content
Module

x/clippy/deps.ts>path

cross-platform Deno library for writing and reading clipboard.
Go to Latest
namespace path
import { path } from "https://deno.land/x/clippy@v0.2.0/deps.ts";

Utilities for working with OS-specific file paths.

This module is browser compatible.

Functions

Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator.

Convert a glob string to a regular expression.

Test whether the given string is a glob

Like join(), but doesn't collapse "**/.." when globstar is true.

Like normalize(), but doesn't collapse "**/.." when globstar is true.

Interfaces

A parsed path object generated by path.parse() or consumed by path.format().