UNPKG

@stacksjs/launchpad

Version:
13 lines 428 B
// Path class replacement for the Deno Path class export declare class Path { string: string; constructor(pathStr: string); static home(): Path; join(parts: string[]): Path; isDirectory(): boolean; exists(): boolean; parent(): Path; basename(): string; relative({ to }: { to: Path }): string; ls(): AsyncGenerator<readonly [Path, { name: string, isDirectory: boolean, isSymlink: boolean }], void, unknown>; }