Module

std/path/mod.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.34.0/path/mod.ts";

Functions

Convert any glob pattern to a JavaScript Regexp object

Generate a regex based on glob pattern and options This was meant to be using the the fs.walk function but can be used anywhere else. Examples:

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().