Properties
basename
basename: ((path, ext?) => string)
Type declaration
- (path, ext?): string
Parameters
- path: string
Optional
ext: string
Returns string
delimiter
delimiter: string
dirname
dirname: ((path) => string)
Type declaration
- (path): string
Returns string
extname
extname: ((path) => string)
Type declaration
- (path): string
Returns string
getProtocol
getProtocol: ((path) => string)
Type declaration
- (path): string
Returns string
hasProtocol
hasProtocol: ((path) => boolean)
Type declaration
- (path): boolean
Returns boolean
isAbsolute
isAbsolute: ((path) => boolean)
Type declaration
- (path): boolean
Returns boolean
isBlobUrl
isBlobUrl: ((path) => boolean)
Type declaration
- (path): boolean
Returns boolean
isDataUrl
isDataUrl: ((path) => boolean)
Type declaration
- (path): boolean
Returns boolean
isUrl
isUrl: ((path) => boolean)
Type declaration
- (path): boolean
Returns boolean
join
join: ((...paths) => string)
Type declaration
- (...paths): string
Returns string
joinExtensions
joinExtensions: string[]
normalize
normalize: ((path) => string)
Type declaration
- (path): string
Returns string
parse
parse: ((path) => {
base?: string;
dir?: string;
ext?: string;
name?: string;
root?: string;
})
Type declaration
- (path): {
base?: string;
dir?: string;
ext?: string;
name?: string;
root?: string;
} Returns {
base?: string;
dir?: string;
ext?: string;
name?: string;
root?: string;
}
Optional
base?: string
Optional
dir?: string
Optional
ext?: string
Optional
name?: string
Optional
root?: string
rootname
rootname: ((path) => string)
Type declaration
- (path): string
Returns string
sep
sep: string
toAbsolute
toAbsolute: ((url, baseUrl?, rootUrl?) => string)
Type declaration
- (url, baseUrl?, rootUrl?): string
Parameters
- url: string
Optional
baseUrl: stringOptional
rootUrl: string
Returns string
toPosix
toPosix: ((path) => string)
Type declaration
- (path): string
Returns string