temp-file
- Version 3.4.0
- Published
- 18.4 kB
- 2 dependencies
- MIT license
Install
npm i temp-file
yarn add temp-file
pnpm add temp-file
Overview
```typescript export function getTempName(prefix?: string | null | undefined): string;
Index
Functions
function getTempName
getTempName: (prefix?: string | null | undefined) => string;
Classes
class TmpDir
class TmpDir {}
constructor
constructor(debugName?: string);
property rootTempDir
readonly rootTempDir: Promise<string>;
method cleanup
cleanup: () => Promise<any>;
method cleanupSync
cleanupSync: () => void;
method createTempDir
createTempDir: (options?: GetTempFileOptions) => Promise<string>;
method getTempDir
getTempDir: (options?: GetTempFileOptions) => Promise<string>;
method getTempFile
getTempFile: (options?: GetTempFileOptions, isDir?: boolean) => Promise<string>;
method toString
toString: () => string;
Interfaces
interface GetTempFileOptions
interface GetTempFileOptions {}
Package Files (1)
Dependencies (2)
Dev Dependencies (4)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/temp-file
.
- Markdown[](https://www.jsdocs.io/package/temp-file)
- HTML<a href="https://www.jsdocs.io/package/temp-file"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2251 ms. - Missing or incorrect documentation? Open an issue for this package.