Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

tempdir

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tempdir

Create a temporary directory

Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

tempdir Circle CI

Create a temporary directory.

Installation

$ npm install tempdir --save

Usage

const tempdir = require('tempdir');

let path = tempdir();

// path = /var/folders/y6/dn6f5hk50qq1167fvxv6vwrw0000gp/T/4d95a74b-9676-447d-ae08-fdeb6e281609

Tests

Circle CI

$ make test

License

tempdir is released under the MIT license.

Keywords

tmp

FAQs

Package last updated on 31 Jul 2015

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