🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More →
Socket
Book a DemoInstallSign in
Socket

temporary-path

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

temporary-path

Get a random temporary path

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

temp

FAQs

Package last updated on 07 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts