Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/yaml_wasm/scripts/deps.ts>path.ParsedPath

WebAssembly module to parse YAML
Latest
interface path.ParsedPath
import { type path } from "https://deno.land/x/yaml_wasm@deno-v0.41.0/scripts/deps.ts";
const { ParsedPath } = path;

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

Properties

root: string

The root of the path such as '/' or 'c:'

dir: string

The full directory path such as '/home/user/dir' or 'c:\path\dir'

base: string

The file name including extension (if any) such as 'index.html'

ext: string

The file extension (if any) such as '.html'

name: string

The file name without extension (if any) such as 'index'