fs.mkdtemp(prefix, callback)
Creates a unique temporary directory.
Generates six random characters to be appended behind a required prefix
to create a unique temporary directory.
The created folder path is passed as a string to the callback's second parameter.
Example:
fs.mkdtemp('/tmp/foo-', (err, folder) => { console.log(folder); // Prints: /tmp/foo-itXde2 });
Please login to continue.