UNPKG

psrworld

Version:

A TypeScript-powered project scaffolding tool with dual CommonJS/ESM build support

16 lines 980 B
export declare function formatTargetDir(targetDir?: string): string; export declare function copy(src: string, dest: string): void; export declare function isValidPackageName(projectName: string): boolean; export declare function toValidPackageName(projectName: string): string; export declare function copyDir(srcDir: string, destDir: string): void; export declare function writeTemplate(src: string, dest: string, projectName: string): void; export declare function isEmpty(path: string): boolean; export declare function emptyDir(dir: string): void; export declare function setupReactFiles(root: string, projectName: string): void; export declare function debounce<T extends (...args: any[]) => any>(func: T, delay: number): (...args: Parameters<T>) => void; export declare class SimpleLogger { private debug; constructor(debug?: boolean); log(level: 'info' | 'warn' | 'error' | 'debug', message: string, ...args: any[]): void; } //# sourceMappingURL=files.d.ts.map