Generate temporary file names in your OS' temporary dir
Generate file names for temporary files:
var getTemporaryFilePath = ;; // "/tmp/112116-2662-18u8bl8"; // "/tmp/112116-2662-1inp07r"
Creating and cleaning up the temporary files is your own responsibility.
Custom suffixes and prefixes are supported using the same syntax as node-temp (from which most of the code was taken):
; // "/tmp/112116-2662-125a83d.png"; // "/tmp/foo-112116-2662-avhu28"
Make sure you have node.js and npm installed, then run:
npm install gettemporaryfilepath
Based on node-temp
and licensed under the 3-clause BSD license -- see the
LICENSE file for