temp-file

```typescript export function getTempName(prefix?: string | null | undefined): string;

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
temp-file
3.4.03 years ago6 years agoMinified + gzip package size for temp-file in KB

Readme

temp-file

export function getTempName(prefix?: string | null | undefined): string;

export class TmpDir {
    getTempDir(suffix?: string): Promise<string>;
    
    createTempDir(suffix?: string): Promise<string>;
    
    getTempFile(suffix: string, isDir?: boolean, disposer?: ((file: string) => Promise<void>) | null): Promise<string>;
    
    cleanupSync(): void;
    
    cleanup(): Promise<any>;
}