https://github.com/develar/temp-file
https://github.com/develar/temp-file
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/develar/temp-file
- Owner: develar
- Created: 2017-08-11T07:59:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T06:30:46.000Z (about 4 years ago)
- Last Synced: 2025-04-28T00:48:57.780Z (3 months ago)
- Language: TypeScript
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
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;
}
```