Rest
...paths: string[]The path segments to join to the current working directory path.
The resulting path.
The function uses the path.join
method from the Node.js path
module, and the process.cwd
method from the Node.js process
module.
console.log(cwdpath('src', 'index.ts'));
//=> '{working_directory}/src/index.ts'
Generated using TypeDoc
Joins the given path segments to the current working directory path, and normalizes the resulting path.