posix
Nodepod API / src / path / posix
Variable: posix
Section titled “Variable: posix”
constposix:object
Defined in: src/polyfills/path.ts:220
Type Declaration
Section titled “Type Declaration”basename
Section titled “basename”basename: (
targetPath,suffix?) =>string
Parameters
Section titled “Parameters”targetPath
Section titled “targetPath”string
suffix?
Section titled “suffix?”string
Returns
Section titled “Returns”string
delimiter
Section titled “delimiter”delimiter:
string
dirname
Section titled “dirname”dirname: (
targetPath) =>string
Parameters
Section titled “Parameters”targetPath
Section titled “targetPath”string
Returns
Section titled “Returns”string
extname
Section titled “extname”extname: (
targetPath) =>string
Parameters
Section titled “Parameters”targetPath
Section titled “targetPath”string
Returns
Section titled “Returns”string
format
Section titled “format”format: (
components) =>string
Parameters
Section titled “Parameters”components
Section titled “components”string
string
string
string
string
Returns
Section titled “Returns”string
isAbsolute
Section titled “isAbsolute”isAbsolute: (
targetPath) =>boolean
Parameters
Section titled “Parameters”targetPath
Section titled “targetPath”string
Returns
Section titled “Returns”boolean
join: (…
fragments) =>string
Parameters
Section titled “Parameters”fragments
Section titled “fragments”…string[]
Returns
Section titled “Returns”string
normalize
Section titled “normalize”normalize: (
inputPath) =>string
Parameters
Section titled “Parameters”inputPath
Section titled “inputPath”string
Returns
Section titled “Returns”string
parse: (
targetPath) =>object
Parameters
Section titled “Parameters”targetPath
Section titled “targetPath”string
Returns
Section titled “Returns”object
base:
string
dir:
string
ext:
string
name:
string
root:
string
relative
Section titled “relative”relative: (
fromPath,toPath) =>string
Parameters
Section titled “Parameters”fromPath
Section titled “fromPath”string
toPath
Section titled “toPath”string
Returns
Section titled “Returns”string
resolve
Section titled “resolve”resolve: (…
segments) =>string
Parameters
Section titled “Parameters”segments
Section titled “segments”…string[]
Returns
Section titled “Returns”string
sep:
string