1.0.0 • Published 6 months ago

temporary-path v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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.

Related

  • tempy - Get a random temporary file or directory path