In node.js, how do I generate a unique temporary file name, a la mkstemp(3)? I want to atomically write a file using fs.rename.
mkstemp(3)
fs.rename
Another popular package is tmp.
1.4m articles
1.4m replys
5 comments
56.9k users