UNPKG

@ts-common/virtual-fs

Version:
12 lines 509 B
interface Url { readonly protocol: string; readonly path: string; } export declare const urlParse: (dir: string) => Url | undefined; export declare const readFile: (pathStr: string) => Promise<string>; export declare const pathResolve: (dir: string) => string; export declare const pathJoin: (dir: string, value: string) => string; export declare const exists: (dir: string) => Promise<boolean>; export declare const pathDirName: (dir: string) => string; export {}; //# sourceMappingURL=index.d.ts.map