Options
All
  • Public
  • Public/Protected
  • All
Menu

Package path-parse-1.0.6

Variables

isWindows

isWindows: boolean = process.platform === 'win32'

posix

posix: posix

splitDeviceRe

splitDeviceRe: RegExp = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/

splitPathRe

splitPathRe: RegExp = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/

splitTailRe

splitTailRe: RegExp = /^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/

win32

win32: win32

Functions

posixSplitPath

  • posixSplitPath(filename: any): string[]

win32SplitPath

  • win32SplitPath(filename: any): string[]

Generated using TypeDoc