UNPKG

@lifaon/path

Version:

Useful tool to manage paths like the URL object

9 lines (8 loc) 469 B
import type { IPathSegments } from '../../../../types/segments/path-segments.type.js'; import { type IConvertStringPathToPathSegmentsOptions } from '../convert/convert-string-path-to-path-segments.js'; export interface IGetProcessPathSegmentsOptions extends IConvertStringPathToPathSegmentsOptions { } /** * Returns the `IPathSegments` of the current process. */ export declare function getProcessPathSegments(options: IGetProcessPathSegmentsOptions): IPathSegments;