@lifaon/path
Version:
Useful tool to manage paths like the URL object
9 lines • 408 B
JavaScript
import { getProcess } from '../../../functions/get-process.js';
import { convertStringPathToPathSegments, } from '../convert/convert-string-path-to-path-segments.js';
/**
* Returns the `IPathSegments` of the current process.
*/
export function getProcessPathSegments(options) {
return convertStringPathToPathSegments(getProcess().cwd(), options);
}
//# sourceMappingURL=get-process-path-segments.js.map