Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/develar/temp-file


https://github.com/develar/temp-file

Last synced: 14 days ago
JSON representation

Awesome Lists containing this project

README

        

## temp-file

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

export class TmpDir {
getTempDir(suffix?: string): Promise;

createTempDir(suffix?: string): Promise;

getTempFile(suffix: string, isDir?: boolean, disposer?: ((file: string) => Promise) | null): Promise;

cleanupSync(): void;

cleanup(): Promise;
}
```