alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
10 lines (9 loc) • 577 B
TypeScript
export declare function isAbsolute(path: string): boolean;
export declare function normalize(path: string): string;
export declare function dirname(path: string): string;
export declare function basename(path: string, ext?: string): string;
export declare function join(...args: Array<string | undefined>): string;
export declare function extname(path: string): string;
export declare function resolve(...args: Array<string>): string;
export declare function relative(from: string, to: string): string;
export declare function contains(parent: string, child: string): boolean;