jetup
Version:
Jetup: JavaScript Project Setup! Jetting-up your next JS project in seconds with one command, using fully modular, customizable presets, instantly ready to code!.
10 lines (9 loc) • 682 B
TypeScript
import { Mode } from 'fs';
export declare function createFolderAndFiles(dirPath: string, files: Record<string, string>): Promise<void>;
export declare function mergeFolderAndFiles(dirPath: string, files: Record<string, string>): Promise<void>;
export declare function createOrReplaceFile(filePath: string, content: string): Promise<void>;
export declare function isFileExists(pattern: string): boolean;
export declare function isFolderExists(pattern: string): boolean;
export declare function readFile(...filePath: string[]): string;
export declare function changeFilePermission(filePath: string, permission: Mode): void;
export declare function cwd(...segments: string[]): string;