temporary-path
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

temporary-path

Get a random temporary path

Install

npm install temporary-path

Usage

import temporaryPath from 'temporary-path';

temporaryPath();
//=> '/private/var/folders/65/kgp6v1_n67z4f4smky78zrgw0000gn/T/46dac20f-b104-42f0-b667-fbeabed3ac31'

The path can be used for either a file or directory.

  • tempy - Get a random temporary file or directory path

/temporary-path/

    Package Sidebar

    Install

    npm i temporary-path

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.91 kB

    Total Files

    5

    Last publish

    Collaborators

    • sindresorhus