Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PathUtils<P>

Type parameters

Hierarchy

  • PathUtils

Properties

delimiter

delimiter: string

sep

sep: P

Methods

basename

  • basename(p: P, ext?: undefined | string): Filename

contains

  • contains(from: P, to: P): P | null

cwd

  • cwd(): P

dirname

  • dirname(p: P): P

extname

  • extname(p: P): string

format

isAbsolute

  • isAbsolute(path: P): boolean

join

  • join(...paths: Array<P | Filename>): P

normalize

  • normalize(p: P): P

parse

relative

  • relative(from: P, to: P): P

resolve

  • resolve(...pathSegments: Array<P | Filename>): P

Generated using TypeDoc