2.0.0 • Published 9 years ago
tempdir v2.0.0
tempdir 
Create a temporary directory.
Installation
$ npm install --save tempdirUsage
const tempdir = require('tempdir');
await tempdir();
//=> /tmp/x/y/z
tempdir.sync();
//=> /tmp/x/y/wAPI
tempdir()
Returns a Promise, which resolves to a directory path.
tempdir.sync()
Synchronous version of tempdir().
License
MIT © Vadim Demedes