tempdir
Create a temporary directory.
Installation
$ npm install --save tempdir
Usage
const tempdir = ; await ;//=> /tmp/x/y/z tempdir;//=> /tmp/x/y/w
API
tempdir()
Returns a Promise
, which resolves to a directory path.
tempdir.sync()
Synchronous version of tempdir()
.
License
MIT © Vadim Demedes