UNPKG

zents

Version:

ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.

13 lines (12 loc) 569 B
export declare abstract class fs { static isTsNode: boolean; static exists(pathToDirOrFile: string): Promise<boolean>; static readDir(dir: string, recursive?: boolean): Promise<string[]>; static writeJson(filePath: string, json: Record<string, unknown>): Promise<boolean>; static readJson<T>(filePath: string): Promise<T>; static resolveZenPath(key: string): string; static resolveZenFileExtension(filename?: string): string; static sanitizeFilename(filename: string): string; static appDir(): string; static isDev(): boolean; }